Po
From UFO:AI
po files
These are used in UFO:AI to let people play the game in their own language. The number of languages available can be seen as a measure of the game's success.
compiling po files
via command-line
make lang
via gui
This must be done in order to play a bleeding edge version from the repository.
- Get poEdit.[1]
- Find the *.po file for your chosen language. eg src/po/fr.po for French.
- Save. poEdit defaults to compiling the po and saving a mo.
- Move and rename the mo to something like base/i18n/fr/LC_MESSAGES/ufoai.mo. Again the fr directory here means this example is specific to French.
reference
- GNU gettext [2].
- more on preparing po files: contributing translation.