Support » Plugins and Hacks » [Resolved] Names of .po/.mo files for new translation

[Resolved] Names of .po/.mo files for new translation

  • Hi Mark,

    I’ve created a translation for this plugin for German de_DE. Which name should the files have and which directory to use? I tried these without any effect, so I suspect the plugin expects another name:

    lang/game-locations-de_DE.mo / .po
    lang/mstw-game-locations-de_DE.mo / .po
    languages/game-locations-de_DE.mo / .po
    languages/mstw-game-locations-de_DE.mo / .po



Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mark O'Donnell


    Hi mallard66,
    Super. There is a Swiss German translation (de_CH) which I’ve been told will be the same as (de_DE), but all the translations will need to be updated as there are a lot more I18n strings on the admin side. The default POT has the new strings for translation.

    You will want to use /lang/mstw-loc-domain-de_DE as your base filename.

    Danke, und lassen Sie mich wissen wie es geht.


    Hi Mark,

    I changed the file names but still can’t make the plugin pick up the translation. I’ll send you the files so that you can add them to your development environment. And yes, de_CH and de_DE would essentially be interchangeable 1:1.


    Plugin Author Mark O'Donnell


    How did you set the WPLANG variable in your wp-config.php file?

    Hi Mark,

    it’s set like this:

    define(‘WPLANG’, ‘de_DE’);

    Other translated plugins (including Game Schedules and Team Rosters) display correctly.


    Translations work now with the version 1.2 update. Thanks for the excellent support and quick turnaround of the fix!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Names of .po/.mo files for new translation’ is closed to new replies.