Skip to content
Adam Litke edited this page Aug 6, 2013 · 7 revisions

Kimchi uses GNU Gettext for internationalization. For those not familiar with gettext, the following quick tips should help you to easily perform some basic tasks related to kimchi i18n:

If you add new translatable strings to any existing *.html.tmpl file, Then you need to update the translation catalog and rebuild the object files:

make -C po update-po
make -C po all

If you add a new *.html.tmpl file, Then you must add that file to the list of files that contain translatable strings:

echo "ui/pages/new.html.tmpl" >> po/POTFILES.in

If you want to add support for a new language, Then you must register the new language code and rebuild.

echo "xx_XX" >> po/LINGUAS
make -C po all

If you want to check the status of translations, Then run the following command:

rm po/*.gmo
make -C po update-gmo
Clone this wiki locally