-
Notifications
You must be signed in to change notification settings - Fork 228
Translations
.pot
files are translation templates.
.po
files contain human-editable translations, which are compiled to .mo
bytecode.
If you edit any .po
file, to see the changes ingame you need to run setup.py build_i18n
.
If you change or add translatable content in py
, xml
, yaml
(not scenarios) or sql
files, run
[development/create_pot.sh
] (../tree/master/development/create_pot.sh) to also update the templates.
There are different helper files for gathering all data from those sources in one place.
If you are interested, check the extract_strings_
files in development/
.
When you (for example) change or add strings in the file tutorial_en.yaml
,
run [development/create_scenario_pot.sh tutorial
] (../tree/master/development/create_scenario_pot.sh).
To make the .po
translation files aware of changes in the template, run
[development/update_translations.py
] (../tree/master/development/update_translations.py).
[msginit -i "inputfile.pot" -l "languagecode" --no-translator -o
]
(http://www.gnu.org/software/gettext/manual/html_node/msginit-Invocation.html)
Home > Developers >
Who is who?
Tests
FIFE: epydoc, doxygen
What to do: Segfaults
Usability
Translations