Skip to content
tehmaze edited this page Jun 13, 2012 · 1 revision

Adding a new language

In order to create a new language, set it up:

$ make de_DE.po
Created locale/de_DE.po.

You can now start editing locale/de_DE.po, once you are satisfied, generate the messages catalog:

$ make de_DE.mo
Compiling natural/locale/de_DE/LC_MESSAGES/natural.mo

Updating a language

Make sure you update the pot file:

$ make translate-extract 
Extracting gettext to locale/natural.pot

Make sure you update the po file:

$ make de_DE.po
Merging locale/de_DE.po: .......... done.

Once you are satisfied, generate the messages catalog:

$ make de_DE.mo
Compiling natural/locale/de_DE/LC_MESSAGES/natural.mo
Clone this wiki locally