Using Poedit to Translate PublishPress Plugins

As started to get more and more requests for translations of PublishPress plugins.

As a team, we speak English, Spanish, Bulgarian, Croatian, Russian and Brazilian Portuguese.

That's a pretty good list, but it only goes so far. What about French, German and the other popular languages that our users want? No matter how big we grow, we'll never be able to cover every language, so we need to allow PublishPress users to translate our plugins.

There are several ways for users to translate plugins. In this guide, we'll recommend an excellent tool called Poedit.

Translating a plugin with Poedit

Here's an introduction to how Poedit works.

  • Select the existing .pot files from your plugin's /languages/ folder.
  • Choose the language for your translation. In this example, I'm choosing German.
  • On the left-hand side, you will see a list of all the English translations. On the right-hand side there’s a blank column with spaces waiting for your translation:
  • At the bottom of the screen, you can enter your translation text into the “Translation” field:
  • So far so good, but this next feature is why Poedit really stood out for us. It has automatic suggestions, based on what other users have chosen. In this example, it suggests “Erlauben Sie bestimmten Benutzerrollen oder Benutzern, jeden Beitrag zu verwalten.” as the translation for “Allow specific user roles or users to manage each post.”. You get 10 free suggestions. If you pay $20, you get unlimited suggestions.
  • Once you've completed translating all the strings, you can export your file.
  • If your WordPress site is running your language (in this case, German), your plugin will automatically detect your new files and display in your language:

Hopefully this is a helpful guide to get started with translating WordPress.

Using Poedit on other plugins and themes

This guide is applicable to PublishPress plugins, and it is possible to use Poedit to translate many other plugins and themes. However, if you want to use it as a more general guide to translating WordPress, it's worth checking to make sure your plugin or theme really can be translated. These tutorials will help you:

  • Steve Burge

    Steve is the founder of PublishPress. He's been working with open source software for over 20 years. Originally from the UK, he now lives in Sarasota in the USA. This profile is generated by the PublishPress Authors plugin.

Leave a Reply

Your email address will not be published. Required fields are marked *