• I’m trying to use the french translation for the theme. I’ve gone into wp-config.php and changed:

    =====================================
    define(‘WPLANG’, ”);

    to

    define(‘WPLANG’, ‘fr_FR’);
    =====================================

    I’ve verified that there are language files in the theme folder here:
    ======================================
    wp-content\themes\leaf\languages
    ======================================

    There are 3 language files named:

    1. leaf.pot
    2. fr_FR.po
    3. fr_FR.mo

    Is there something I am missing?

    Any help would be appreciated ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jheinrichs79

    (@jheinrichs79)

    I found this in “theme-functions.php”:

    function leaf_setup() {
    
    /**
      * ed to the /Make Leaf available for translation.
      * Translations can be addlanguages/ directory.
      * If you're building a theme based on Leaf, use a find and replace
      * to change 'leaf' to the name of your theme in all the template files.
     */

    I went to home.php and changed this line:

    <p class="read-more-link"><a>"><?php _e( 'Full Article', 'leaf'  ); ?> →</a></p>

    to

    <p class="read-more-link"><a>"><?php _e( 'Full Article', 'fr_FR' ); ?> →</a></p>

    I changed “lead” to “fr_FR” but this still didn’t seem to work.

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    Thread Starter jheinrichs79

    (@jheinrichs79)

    It should have read “leaf” to “fr_FR”

    Do not edit the theme’s files. Reverse your changes.

    Thread Starter jheinrichs79

    (@jheinrichs79)

    I did that and it’s still not working… Any ideas on what I need to do to get it working?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Using French Language Conversion Files’ is closed to new replies.