Reply To: Translations WPML – Related Posts

Ernest Marcinko
Ernest Marcinko

Yep, it’s not there unfortunately, because it’s a get-around solution yet 🙂

Just change the text in the source code like so:

<?php if (isset($options["title_text"]) && $options["title_text"] != ""): ?>
    <?php icl_register_string('related_posts_pro', 'Header title', 'Recommended for you'); ?>
    <legend><?php echo icl_t('related_posts_pro', 'Header title', 'Recommended for you'); ?></legend>
<?php endif; ?>

As you can see there is two ‘Recommended for you’ strings there between apostrophes, that’s the default english text. Change that to anything you want. Once you are done, only then start translating, because I’m not sure if changing the text looses the translations or not.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)