• Hi from Germany,

    I probably am missing something, but how am I able to translate the plugin? I do not find any load_plugin_textdomain or similar, neither any lang dir with .po and .mo files. I truly believe that your plugin is the perfect addition for the events calendar, but without translated strings it is impossible for me to use.

    Could you help me out with that?

    https://ww.wp.xz.cn/plugins/event-rocket/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Barry

    (@barryhughes-1)

    Hi @sixtyseven,

    I’d love to 🙂

    Most or all of the strings are “translation ready” but you’re right, it doesn’t currently load the text domain (nor have any translations been contributed just yet).

    Using a suitable tool like poedit it should still be possible to form a .pot catalogue and begin the process of translating the plugin – if you then contribute this via a pull request or just by dropping a note on the issue tracker, we can get the ball rolling 🙂

    https://github.com/barryhughes/event-rocket

    Thread Starter sixtyseven

    (@sixtyseven)

    Tried my best using the pro versuon of poedit, but without any luck. Poedit shows an error regarding there is nothing to translate, this could probably be a path problem. Normally I do it this way: copying the english file over to pluginname-de_DE.po and translate via poedit from there.

    So here’s the deal: if you update the plugin with a language file and the missing language file loading, I’ll chip in the german translation. How’s that?

    Sorry not submitting a pull request via github, the sad truth is: the only thing I can do on github is commenting. Shame on me …

    Plugin Author Barry

    (@barryhughes-1)

    No problem, it’s really only a matter of laziness that’s stopped me from adding a .pot catalogue (and actually I believe you are the first person to ask).

    I’ll make a note and do that in the next release if at all possible 🙂

    Thread Starter sixtyseven

    (@sixtyseven)

    Thanks for the update, the .pot file worked like a charm in PoEdit. I gladly send you the geman .po and .mo files, if you provide an email addres where to send it.

    However, something still is wrong, there is no translattion at all. A quick check with the plugin debug translations does not show any language call from your plugin.

    I am by no means a coder, but could it be that you are not loading the language files somehow? If so, I probably found a little issue 😉

    Plugin Author Barry

    (@barryhughes-1)

    Yep there is no load textdomain call … but stay tuned!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘translating the plugin?’ is closed to new replies.