Skip to content
This repository was archived by the owner on Dec 28, 2018. It is now read-only.

Localization

hggh edited this page Sep 14, 2010 · 1 revision

Using translation in CpVES

If you want to use the translation, you have to compile the existing po-files to machine readable files.
You can do that by running:


msgfmt -o cpves.mo cpves.po

Translating CpVES

First steps

You must have gettext installed. Within Debian do apt-get install gettext.

Than you need your lanuage code. ex. german: de_DE

copy template

If you have got the correct lanuage code, you have to create the directory:


trunk/includes/localization/lanuage_code/LC_MESSAGES/

Than use msginit to create an new localization.


msginit --locale=language_code --input=cpves.pot --output-file=lanuage_code/LC_MESSAGES/cpves.po

Now you can translate the strings in the file lanuage_code/LC_MESSAGES/cpves.po to your language.

contribute new localizations to CpVES

If you have translated CpVES in an other lanuage, please contact Jonas Genannt for including the translation into the next release of CpVES.

Clone this wiki locally