Localtransformer supports localization for GNU GetText .po and .pot files.
GetText is a GNU application that is used by many programming languages such as PHP and Ruby in order
to localize their files.
In order to localize files using GetText and Localtransformer :
Mark up strings by moving them into arguments to the special function gettext().
Run the xgettext command-line utility to extract the strings into a messages file.
Run Localtransformer , open the po Pot file.
Enter the translations for each language.
Build the project.
Run the msgfmt command-line utility to create the localized message databases used at runtime.
The structure of the pot file is something like this:
msgstr "Translated Message"
Localtransformer extracts all message ids and the user enters the translations that correspond to the msgstr
Please also note that Localtransformer sets automatically the encoding of the file to UTF-8.
The header of the file will then contain the following line :
"Content-Type: text/plain; charset=UTF-8\n"
For more information consult the following websites: