• Just started using WP + the new evolve theme premium

    I need to change the green button text “read more” into my own language

    In sliders its possible to change it, but i dont see where to change it in the post + pages links

    Any help is appreciated

    Best regards Per R?bild

Viewing 15 replies - 1 through 15 (of 15 total)
  • Hello! The evolve theme uses po and mo files for the language translation.
    Find the po and mo files in your host’s html-public directory.

    Cheers:)

    I made all translations, updated the po and mo files, edited all “READ MORE” entries on php files I could find but “Read More” persisted the button.

    But after installing the Loco Translate plugin and by sincronizing the updated language files with the theme I’ve got it!

    By the way: works on WP 4.4!

    The site is: https://editoranaves.com.br/

    Merry Christmas

    Hi,

    I have the same problem!
    I found the mo/po-files in the directory languages… there is a German translation (de_DE.mo / de_DE.po)

    In it, I found:

    #: header-content.php:120
    msgid "Read more"
    msgstr "Weiterlesen"
    
    #: index.php:240
    #: index.php:682
    #: index.php:817
    msgid "READ MORE »"
    msgstr "WEITERLESEN... »"
    
    #: index.php:492
    #: index.php:676
    msgid "READ MORE"
    msgstr "WEITERLESEN..."

    Seems to be alright, isn’t it? But why doesn’t it work?

    Hi Jonnylander,

    Did you check the translation with Poedit, line by line? It’s very important to rewiw line by line, as there could be unwanted ‘/n’ or ‘/tr’ in it.
    I’ve seen that the translation file is marked English > English. You have to correct that as well, so the German language can be recognized as such by WordPress and the Loco Translation.

    Did you install the Loco Translate plugin and sincronized the updated language pack?

    Grü?e aus Brasilien!

    Hi Bosco,

    I didn’t check it line by line by now… what do I have to look for when I do this?

    I changed the translation with Poedit to “German”… hoped that this little thing would fix the problem. Unfotunately not.

    What’s that thing with “Loco Translate plugin”? Do I need that? Actually I don’t want to install another plugin.

    Cheers oder “Grü?e aus Deutschland”
    Jonny

    Hi Jonny,

    Yes you have to check if the translation is correct.

    You can use the Loco Translate plugin to validate the translation or go this way: https://en.support.wordpress.com/translation-faq/

    Merry Christmas or “Frohe Weihnachten”

    Bosco

    The problem is that it says “Read More” in the index.php file, but the translation file (.po) lists “Read more”. I changed the 3 “Read More” entries to “Read more” and it worked.

    @humblepie

    Yes, sometimes the issue is in just some small detail as such.

    Great remark.

    Merry Christmas!

    I’m really new to wordpress-translations.

    Do I have to change the “Read more” in the index.php file? I tried to change it in the po-File, but I couldn’t change the source there.

    Ja!
    Yes!

    Oh yes… that helped!
    Thanks!

    @jonnylander, I edited my PO translation with Notepad++, and then just refreshed MO file with Poedit (update a translation) and it did work without having to modify index.php

    Hi zulok,

    Do everything in poedit or loco translate plugin and check that the language file name is correct.

    Thanks!

    Hi Denzel,

    Poedit did not allow me to modify the original string “Read more” to “Read More” as it appears in the PHP file. That’s why I modified the PO file before translating with Poedit

    Thanks

    Hi folks,

    Edit ‘index.php’ only where it’s needed:

    “><?php _e(‘PLACE THE TEXT HERE’, ‘evolve’); ?> and leave

    ‘<?php the_content(__(‘Read More »’, ‘evolve’)); ?>’ as it is.

    That will do!

    Have fun!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘change "read more" in evolve’ is closed to new replies.