custom theme: english .mo file not working
I'm having an issue with a .mo
file.
I have a fully functioning localized custom theme that's running in four languages for the moment: Dutch, English, French and Spanish. There is one problem: the English localization doesn't work. The other languages work just fine.
The translation plugin is polylang.
The plugin for creating .po
and .mo
files is CodeStyling Localization.
The .po
and .mo
files are situated in the folder /language/
inside my theme.
The theme is localized and works just fine in Dutch (default language), French and Spanish. When I'm in the English version of the website however, the default Dutch words appear on localized strings.
I've tried deleting the English .mo
and .po
files and recreating them anew but this didn't help.
It isn't a problem with the en_US.po
or en_US.mo
files. I just copied them from the site's server and tried them on another WP install. Worked just fine.
I'm out of ideas. Does anybody have suggestions? Is there a way to test the call to the English .mo
file and get some PHP feedback. Any ideas are welcome.
Topic plugin-polylang translation Wordpress
Category Web