This document describes the steps for a new language: Translate the string which are embedded into perl: -------------------------------------------------- 1. create a new directory src/common/lib/locale/xy_XY 2. copy the Makefile from es_ES, de_DE or any other language to xy_XY and fix it 3. copy src/common/lib/locale/openca.pot to src/common/lib/locale/xy_XY/openca.po 4. translate the openca.po 5. compile the openca.po with msgfmt (msgfmt openca.po -o openca.mo) Notice: strings like __FILE__ must be present in the translations too because they are dynamically replaced by OpenCA - yes, they are placeholders for variables :) Translate the javascript-code: ------------------------------ 1. create a new directory src/common/lib/javascript/xy_XY/ 2. copy all files from src/common/lib/javascript/C/ to xy_XY 3. translate the files Translate the mails: -------------------- 1. create a new directory src/common/lib/mails/xy_XY/ 2. copy all files from src/common/lib/mails/C/ to xy_XY 3. translate the files Activate your language: ----------------------- 1. Add the new language code to the variable TRANSLATIONS in Makefile.global-vars.in. 2. Add your language to the file src/common/etc/menu.xml.template. The modules are actually not integrated into OpenCA's internationalization because several other users use our modules and they are not ready for internationalization. Any comments and translations are welcome. Michael Bell 2004-Feb-02 translators: de_DE Michael Bell es_ES Julio Sanchez Fernandez fr_FR Nicolas Pouvesle it_IT Simone Rossi pl_PL Franciszek Lewenda