WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] theme english .mo file not working (3 posts)

  1. Peter_L
    Member
    Posted 7 months ago #

    Hello,

    I'm having an issue with a .mo file.

    I have a fully functioning custom localized theme that's running in 4 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 an 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.

    I'm out of ideas. Does anybody have suggestions of things I could try?

  2. Peter_L
    Member
    Posted 7 months ago #

    update:
    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.

  3. Peter_L
    Member
    Posted 7 months ago #

Reply

You must log in to post.

About this Topic