Language Switcher Problem with .mo and .po
-
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
- The topic ‘Language Switcher Problem with .mo and .po’ is closed to new replies.