WordPress.org

Ready to get started?Download WordPress

Forums

Pushover Notifications for WordPress
[resolved] Translation: How? (4 posts)

  1. gerobe
    Member
    Posted 1 year ago #

    Hello,

    just translated the plugin and created a po file. But where do I have to save this file under which name? Tried a lot of things, but was not able to activate or see the translation.

    http://wordpress.org/extend/plugins/pushover-notifications/

  2. Chris Klosowski
    Member
    Plugin Author

    Posted 1 year ago #

    @gerobe

    The translation process for any WordPress plugin or theme also requires the .po file you entered all the translations into be compiled into a .mo (or machine object) file which is used to execute the translations on the code's side of things.

    Also, the naming of your file must match that of the conventions outlined in the later part of this article:
    http://urbangiraffe.com/articles/translating-wordpress-themes-and-plugins/

    The prefix for Pushover Notifications for WordPress is 'ckpn' so an example for a French Translation would be:
    ckpn-fr_FR

    Also, the location of this file must be in the 'languages' directory of my plugin /wp-content/plugins/pushover-notifications/languages/ for the plugin to attempt to load your locale translation file.

    If you'd like me to take a look at it let me know and I'd be happy to.

    Thanks,
    Chris

  3. gerobe
    Member
    Posted 1 year ago #

    Thank you! I did not know the ckpn prefix and tried others, but now it works. How can I send you the German translation?

  4. Chris Klosowski
    Member
    Plugin Author

    Posted 1 year ago #

    @gerobe

    Great! Thanks for translating the plugin. You are the first that's informed they have translated so I would love to include it in the core plugin with the next update. If you could just email me the .mo & .po files at cklosowski at gmail dot com that'd be great.

    Cheers!
    -Chris

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.