-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathI18N
55 lines (43 loc) · 1.98 KB
/
I18N
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
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 src/common/lib/locale/openca.pot to src/common/lib/locale/xy_XY/openca.po
3. translate the openca.po
4. 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.
3. Add the new language code to the variable TRANSLATIONS in
src/common/lib/locale/pot/Makefile.
4. Add the language to %supportedLanguages in
src/common/lib/functions/initServer.
5. Add the encoding to %encodings in src/common/lib/functions/initServer.
Any comments and translations are welcome.
Michael Bell <[email protected]>
2004-Apr-19
translators:
de_DE Michael Bell <[email protected]>
en_GB actually nobody <[email protected]>
es_ES Julio Sanchez Fernandez <[email protected]>
fr_FR Nicolas Pouvesle <[email protected]>
it_IT Simone Rossi <[email protected]>
ja_JP Takahiro Tsuji <[email protected]>
pl_PL Franciszek Lewenda <[email protected]>
sl_SI Janez Pirc <[email protected]>
ru_RU Peter Grigorievo <[email protected]>