blob: 454f11b8e26ce1bdc393af950a73e1aa7ac6c90a (
plain)
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
|
How To Add Support For A New Locale
1) Append the ISO locale code, as either xx or xx_YY, to the
${OTHER} macro definition in the file "Makefile". Below,
we will refer to the new locale as ${LANG}.
2) Create a .PO file for the locale by typing the command:
$ make ${LANG}.po
3) Add the translations using your favorite .PO file editor,
such as kbable(1) or gtranslator(1).
4) Review your updated XML file using the command:
$ make xml-${LANG}
and reviewing the file "entities-${LANG}.xml" for
correctness.
5) Repeat steps #3 and #4 until a correct XML file is
produced.
6) Produce the final output file, "entities-${LANG}.ent" by
using the command:
$ make
and reviewing the results.
Tommy Reynolds
|