1

I'm facing a really simple issue : We made a theme for a multisite wordpress (see here : http://www.agence-malttt.fr/) and translated it with Loco Translate for French.

It's still showing English version (hardcoded one with _e() ).

My theme now has fr_FR.po and fr_FR.mo, like it was all the time.

The problem is the translation doesn't apply whatever i'm doing. I've even made changes to wp-config.php and added define('WP_LANG','fr_FR'), changed in general settings and changed in Multisite feature for WP_LANG to be fr_FR too. Still doesn't do the job.

Can someone help us? What did I miss?

2
  • Where did you upload these .po and .mo files. Does the theme come with a .pot file and a language folder?
    – luukvhoudt
    Oct 20, 2015 at 15:41
  • It's a copy from the last Twenty<something>, i've changed all occurences, then used the POT contained in themes/my_theme/languages folder for producing mo et po with Loco translate.
    – Matt Loye
    Oct 20, 2015 at 15:45

1 Answer 1

0

Ok I made it, it was a problem in po file, missing some arguments or informations in headers. I've generated a new one and replaced with my previously done translations keeping only headers. Loco translate made it work. Cheers !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.