• ludo2604

    (@ludo2604)


    Hello,

    I would like to have some help about this great plugin iif t’s possible to traduce an english theme to french.

    I have one problem, I think i’m in the last step:
    I already translate from database everything [lang_en] [/lang_fr] and all is working very well but now i want to translate some text in some PHP files of my theme.
    So created I a fr_FR.mo and fr_FR.po and I put it in my Theme repertory.

    I add on Header.php :

    <?php
    /* for the french version */
    load_theme_textdomain(‘atlantica’);
    ?>

    I started to change a text :
    <?php _e(“HOME”, “atlantica”); ?>

    and of course, in the .mo there is :

    #: header.php:70
    msgid “HOME”
    msgstr “ACCEUIL”

    So now all should work great but nothing’s happing when i’m switching english to french !
    Only the [lang_en] [/lang_fr] are working but that’s it.

    Could please help me ?

    Regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter ludo2604

    (@ludo2604)

    up!

    okpeery

    (@okpeery)

    I would like to know if you can add multiple .mo and .po files to one site so that each registered admin user can choose the language of the dashboard themselves.

    Bump

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Language Switcher Problem with .mo and .po’ is closed to new replies.