How to translate Posterno

Posterno (and all official add-ons) are fully internationalised allowing you to translate strings or use your own language if you don’t need it running in English.

Posterno includes a language file (.po or .pot file) which contains all of the English text. You can find this language file inside the plugin folder in posterno/languages/. The same languages directory is used for all add-ons.

Setting up WordPress in Your Language

WordPress needs to be told which language it should run under. Change the language in the admin settings screen. Settings -> general -> Site Language.

Translation Using Poedit

Poedit is an application you can use on your computer to translate a POT file into your language.

  1. Download and install Poedit
  2. Find the POT file in posterno/languages/posterno.pot
  3. Open the POT file in Poedit.
  4. Translate the strings into your language.
  5. Go to File → Save as… to save your translations in a PO file.
  6. When you are finished translating, go to File → Save as… again to generate the MO file.
  7. Or you can set your Poedit to always compile a MO file when saving changes by clicking File → Preferences and on the Editor tab check the Automatically compile .mo file on save box.
  8. Upload your PO and MO file to wp-content/languages/posterno/

After updates, you can update your po file by opening it and then going to Catalog > Update from POT file. Choose the file and it will be updated accordingly.

Translation Using Loco Translate

Loco Translate is a WordPress plugin that provides in-browser editing of PO files used for localizing WordPress plugins and themes.

You can then follow the instructions that take you through making a translation.

Contribute Your Translation to Core

Core translations are hosted on WordPress.org:

https://translate.wordpress.org/projects/wp-plugins/posterno

Anyone can signup and start translating here and any updates will be included in Posterno updates. Contributing to these translations benefits all users since they will be pulled into the plugins when downloaded.