Interface translation
From Unknown Horizons - Wiki
This article explains how to see your translated po files ingame. It assumes you use a git clone of UH. All paths are, unless specified otherwise, relative to this clone's master directory. You might need to replace python calls by python2, python2.6 or python2.7.
- Input
- one or more .po files that contain translated strings
- Download from pootle:
- click on the speech in the overview
- click on the project (Unknown Horizons: Interface for example)
- click on Translate tab
- There is the download button
- Download all .po files you wish to test from our main UH project at pootle.
- Move all pofiles into the directory
po/. The appropriate language code as filename needs to be preserved.
Now choose one path:
A Unix / Mac
- In the main UH directory (where
setup.py is located) run user@pc: unknown-horizons$python ./setup.py build_i18n- Do this whenever you edited a .po file
- On Arch Linux: use python2 instead of python
B Win
- In the main UH directory (where
development/ is located) run user: unknown-horizons>python ./development/compile_translations_win.py- Do this whenever you edited a .po file
- Please report any error or warning output to a translation admin of this language or the translation team at pootle!