-
-
Notifications
You must be signed in to change notification settings - Fork 102
Translations
TheYOSH edited this page Sep 17, 2017
·
16 revisions
TerrariumPI can be translated pretty easy using a PO Editor. In order to add or update a translation use the following steps.
- Create your own fork
- Open the source language file from:
locales/terrariumpi.pot
with PO Editor and select your language - Add or update your translations
- Save/export the translation to the following location:
locales/[language]_[LOCALE]/LC_MESSAGES/
using two letter codes. With the filenameterrariumpi.mo
andterrariumpi.po
- Restart TerrariumPI and check if the new language is available at the System Settings page
- Update your fork with master branche
- Open the existing translation file at location:
locales/[language]_[LOCALE]/LC_MESSAGES/terrariumpi.po
- In PO Edit go to menu
Catalog
->Update from POT file
and select the POT file at location:locales/terrariumpi.pot
- Add or update your translations
- Save/export the translation to the following location:
locales/[language]_[LOCALE]/LC_MESSAGES/
using two letter codes. With the filenameterrariumpi.mo
andterrariumpi.po
- Restart TerrariumPI and check if the new language is available at the System Settings page
When happy, sent a pull request back and I can add the new translation.