Greetings,

I have finally finished working on the dbootstrap PO file yesterday;
it took much longer than I expected.  A quick glance of the latest CVS
version (potato branch) showed that only zh_CN.po is committed, so
Chinese installation support is basically non-functional.  I propose
that modifications be committed to enable Chinese installation (CVS
patch and additional files attached).

It works like this: two options, simplified Chinese and traditional
Chinese, will be presented to the user in the language chooser.  Both
options are labelled 'zh' instead of 'zh_CN' and 'zh_TW', as encodings
need not reflect the actual locale to be used.  Then, in the next
"Choose Language Variant" menu, the user can select the keyboard map
and the actual locale to be used.

My own test showed that it works pretty well, except for the broken
keyboard map selection.  Opinions are most welcome.

-- Chuan-kai Lin
Index: langs/Makefile
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/langs/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- langs/Makefile      2000/11/27 20:59:52     1.12
+++ langs/Makefile      2001/01/29 00:59:37
@@ -29,7 +29,7 @@
 LIBS            = -lnewt -lslang
 endif
 
-generated_languages=english.xml russian.xml polish.xml portuguese.xml 
french.xml czech.xml german.xml hungarian.xml turkish.xml japanese.xml 
swedish.xml
+generated_languages=english.xml russian.xml polish.xml portuguese.xml 
french.xml czech.xml german.xml hungarian.xml turkish.xml japanese.xml 
swedish.xml chinese_t.xml chinese_s.xml
 
 programs=lc list bf-info
 
Index: langs/langs.xml
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/langs/langs.xml,v
retrieving revision 1.5
diff -u -r1.5 langs.xml
--- langs/langs.xml     2000/11/25 00:04:30     1.5
+++ langs/langs.xml     2001/01/29 00:59:37
@@ -38,6 +38,8 @@
     <!ENTITY turkish    SYSTEM "turkish.xml">
     <!ENTITY japanese   SYSTEM "japanese.xml">
     <!ENTITY swedish    SYSTEM "swedish.xml">
+    <!ENTITY chinese_t  SYSTEM "chinese_t.xml">
+    <!ENTITY chinese_s  SYSTEM "chinese_s.xml">
 ]>
 
 <languages>
@@ -52,4 +54,6 @@
     &turkish;
     &japanese;
     &swedish;
+    &chinese_t;
+    &chinese_s;
 </languages>
Index: po/Makefile
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/po/Makefile,v
retrieving revision 1.34
diff -u -r1.34 Makefile
--- po/Makefile 2000/12/29 22:41:39     1.34
+++ po/Makefile 2001/01/29 00:59:37
@@ -7,7 +7,7 @@
 .SUFFIXES:
 .SUFFIXES: .po .mo .trm
 
-__AVAILABLE_LANGUAGES = cs+ de+ eo+ es+ fi+ fr+ hr+ hu+ it+ ja+ pl+ pt+ ru+ 
sk+ sv+ tr+
+__AVAILABLE_LANGUAGES = cs+ de+ eo+ es+ fi+ fr+ hr+ hu+ it+ ja+ pl+ pt+ ru+ 
sk+ sv+ tr+ zh_CN+ zh_TW+
 
 AVAILABLE_LANGUAGES = $(subst +,,$(__AVAILABLE_LANGUAGES))
 

Attachment: chinese_t.src
Description: WAIS Source

Attachment: chinese_s.src
Description: WAIS Source

回复