Difference between revisions of "Po"

From UFO:AI
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 06:47, 30 July 2013

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