translation not working with .mo file
-
Hi
I have created a .po file using WPML which finds al of the strings successfully. It is translated.
When I open my po file in poedit it says for example “From the Blog” = “Du Blog …”
I then made the mo file by saving it with poedit.my wp-config file says define (‘WPLANG’, ‘fr_FR’);
My file is named fr_FR.mo and is in the folder lang which is a sub folder of the theme folder.
Functions.php saysload_theme_textdomain( 'storefront', TEMPLATEPATH.'/lang' );
I echo that out on index.php<?php $lang_path = TEMPLATEPATH.'/lang'; echo $lang_path; ?>
and it returns
/Users/gasonmark/Sites/echo/wp-content/themes/storefront-echo-1.4.1/lang
it is a local install and this seems correctMy po file settings show
base path ../
keywords e_ and __Nothing is translated. What am I missing. Happy to give a login to a test version online if it will help.
- The topic ‘translation not working with .mo file’ is closed to new replies.