|
← Revision 1 as of 2010-07-22 10:30:36
Size: 516
Comment:
|
← Revision 2 as of 2010-10-18 11:28:31
Size: 524
Comment: Fix path to translations
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 13: | Line 13: |
|
$ cd po $ mkdir -p <locale>/LC_MESSAGES $ msgfmt --output-file=<locale>/LC_MESSAGES/mago.mo <locale>.po |
$ mkdir -p bulild/mo/<locale>/LC_MESSAGES $ msgfmt --output-file=build/mo/<locale>/LC_MESSAGES/mago.mo <locale>.po |
| Line 17: | Line 16: |
Mago is ready for localization. If you want to have the tests in your own language, follow these steps.
First, you need to generate the .po file for your particular locale. In the mago root folder:
$ cd po $ msginit --input=mago.pot --locale=<locale>
Once the file has been translated, in order to run the tests, the .mo files need to be generated. In the mago root folder:
$ mkdir -p bulild/mo/<locale>/LC_MESSAGES $ msgfmt --output-file=build/mo/<locale>/LC_MESSAGES/mago.mo <locale>.po