Skip to content

Localization instructions

pekman edited this page Feb 2, 2011 · 8 revisions

Translation files

Translated strings are located in the files locale/<locale_id>/aaltoapps.po. The files are Gettext po-files. They can be edited either with a text editor or with a specialized po editor. If editing with a text editor, msgid is the original English string and msgstr is the translation. Untranslated strings have an empty string in msgstr; fast_gettext will use the original English strings for these.

Updating the files

When new translatable strings are added or existing ones changed, the translation files should be updated with the following command: rake gettext:find