WordPress.org

Ready to get started?Download WordPress

Forums

Game Locations
[resolved] Names of .po/.mo files for new translation (6 posts)

  1. mallard66
    Member
    Posted 8 months ago #

    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

    Cheers,
    mallard66

    http://wordpress.org/plugins/game-locations/

  2. Mark O'Donnell
    Member
    Plugin Author

    Posted 8 months ago #

    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.

    -Mark

  3. mallard66
    Member
    Posted 8 months ago #

    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.

    -mallard66

  4. Mark O'Donnell
    Member
    Plugin Author

    Posted 8 months ago #

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

  5. mallard66
    Member
    Posted 8 months ago #

    Hi Mark,

    it's set like this:

    define('WPLANG', 'de_DE');

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

    -mallard66

  6. mallard66
    Member
    Posted 8 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic