custom theme: english .mo file not working
I’m having an issue with a
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
.mo files is CodeStyling Localization.
.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
.po files and recreating them anew but this didn’t help.
It isn’t a problem with the
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.