Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @meo8x

    We’ve been working to translate LeanPress to other languages. You also can add or adjust the translations for your site. the languages folder is located in path:
    (your wp root directory)/wp-content/plugins/leanpress/languages.

    The french translations is included in the file named learnpress-fr_FR.po, as you can see that file consist of pairs:
    msgid is the text in english.
    msgstr is the translation in french.

    You can add translations by adding some pairs to the end of file, something like:

    msgid "Congrats! You can finish this race right now"
    msgstr "Félicitations! Vous pouvez terminer cette course en ce moment"
    
    msgid "Finish course"
    msgstr "cours de finition"

    If you have any trouble please reply below, thank you.

    Thread Starter neo8x

    (@neo8x)

    Thank you very much

    @neo8x

    Sorry to tell you that, but the solution will not work. please follow this tutorial to make/edit translations in learnpress/languages folder.

    thank you.

    Hi again.

    I’ve just found a amazing plugin called Loco Translate which’s verry usefull for translate WP themes and plugins. You can install this plugin and translate LearnPress easily.

    In the Loco Translate UI, choose Learnpress, choose which language you want to translate, press sync button on the top of the table, then you can find sentence you want to translate and complete it.

    Hope this help.
    Minh.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translate in French’ is closed to new replies.