|
@@ -126,6 +126,7 @@ DETAILED PROCEDURE :
|
|
|
setenv LANGUAGE ja_JP
|
|
|
setenv LC_ALL ja_JP
|
|
|
|
|
|
+
|
|
|
2. CREATE POT FILES
|
|
|
run
|
|
|
make pot
|
|
@@ -133,9 +134,9 @@ DETAILED PROCEDURE :
|
|
|
This will create
|
|
|
./templates/grasslibs.pot
|
|
|
./templates/grassmods.pot
|
|
|
- ./templates/grasstcl.pot
|
|
|
-
|
|
|
-
|
|
|
+ ./templates/grasswxpy.pot
|
|
|
+
|
|
|
+
|
|
|
3. CREATE LANGUAGE FILES
|
|
|
|
|
|
Two cases have to be distinguished:
|
|
@@ -154,10 +155,10 @@ DETAILED PROCEDURE :
|
|
|
to the ./po/ directory (for example German language):
|
|
|
mv ./template/grasslibs.pot ./po/grasslibs_de.po
|
|
|
mv ./template/grassmods.pot ./po/grassmods_de.po
|
|
|
- mv ./template/grasstcl.pot ./po/grasstcl_de.po
|
|
|
+ mv ./template/grasswxpy.pot ./po/grasswxpy_de.po
|
|
|
|
|
|
Get the two characters indicating the language from this
|
|
|
- list: http://www.loc.gov/standards/iso639-2/englangn.html
|
|
|
+ code list: http://www.loc.gov/standards/iso639-2/php/English_list.php
|
|
|
The code to use is ISO 639-1 (two characters).
|
|
|
|
|
|
Then continue with 4. below.
|
|
@@ -188,12 +189,12 @@ DETAILED PROCEDURE :
|
|
|
Run 'kbabel' or equivalent program
|
|
|
kbabel ./po/grasslibs_<LANGUAGE>.po
|
|
|
kbabel ./po/grassmods_<LANGUAGE>.po
|
|
|
- kbabel ./po/grasstcl_<LANGUAGE>.po
|
|
|
+ kbabel ./po/grasswxpy_<LANGUAGE>.po
|
|
|
|
|
|
For example (German):
|
|
|
kbabel ./po/grasslibs_de.po
|
|
|
kbabel ./po/grassmods_de.po
|
|
|
- kbabel ./po/grasstcl_de.po
|
|
|
+ kbabel ./po/grasswxpy_de.po
|
|
|
|
|
|
KBABEL: You may load .po files from other projects [see footnote 1].
|
|
|
Then use TOOLS -> ROUGH TRANSLATION to auto-translate messages.
|
|
@@ -226,7 +227,7 @@ DETAILED PROCEDURE :
|
|
|
If possible, please send diffs against CVS:
|
|
|
svn diff grasslibs_LANG.po > grasslibs_LANG_po.diff
|
|
|
svn diff grassmods_LANG.po > grassmods_LANG_po.diff
|
|
|
- svn diff grasstcl_LANG.po > grasstcl_LANG_po.diff
|
|
|
+ svn diff grasswxpy_LANG.po > grasswxpy_LANG_po.diff
|
|
|
|
|
|
If you updated .c files with _() macros as explained
|
|
|
above, please send C file diffs against SVN:
|