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.
- Download and install Poedit
- Find the POT file in posterno/languages/posterno.pot
- Open the POT file in Poedit.
- Translate the strings into your language.
- Go to File → Save as… to save your translations in a PO file.
- When you are finished translating, go to File → Save as… again to generate the MO file.
- 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.
- 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:
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.