goba Thu Jul 18 06:37:44 2002 EDT Modified files: /phpdoc configure.in Log: Try to give support for zh (Simlified Chineese) manual. It's quite a big mess here, there are some conversions: hk => zh_hk tw => zh_tw zh => zh_cn It's not too straightforward, I imagine, that zh would have been "cn" from the start, it would be nice. Or all these may have been zh_hk, zh_tw and zh_cn, but that's another question... Please try out zh build with this configure.in, and see what's happening. Do a cvs update, autoconf and then configure --with-lang=zh Index: phpdoc/configure.in diff -u phpdoc/configure.in:1.158 phpdoc/configure.in:1.159 --- phpdoc/configure.in:1.158 Wed Jul 17 09:12:46 2002 +++ phpdoc/configure.in Thu Jul 18 06:37:44 2002 @@ -1,4 +1,4 @@ -dnl $Id: configure.in,v 1.158 2002/07/17 13:12:46 hholzgra Exp $ +dnl $Id: configure.in,v 1.159 2002/07/18 10:37:44 goba Exp $ dnl autoconf initialisation AC_INIT() @@ -534,6 +534,10 @@ LANG="zh_tw" LANGDIR="tw" ;; + zh) + LANG="zh_cn" + LANGDIR="zh" + ;; *) LANG=$withval LANGDIR=$withval @@ -555,7 +559,7 @@ dnl localize paper size by language dnl (instead of using system-dependant default) case "$LANG" in - ar|cs|de|hu|it|ja|ko|pl|ro|tr|zh_hk) + ar|cs|de|hu|it|ja|ko|pl|ro|tr|zh_hk|zh_cn) PAPER_TYPE="A4" PDF_PAPER_TYPE="a4" ;; @@ -625,7 +629,7 @@ case "$LANG" in ja|tw|ko) ENCODING="UTF-8";; zh_hk) ENCODING="big5";; - zh) ENCODING="gb2312";; + zh_cn) ENCODING="gb2312";; cs|hu|pl|ro) ENCODING="ISO-8859-2";; ar) ENCODING="ISO-8859-6";; tr) ENCODING="ISO-8859-9";; @@ -660,6 +664,9 @@ ;; big5) SP_OPTIONS="SP_ENCODING=big5 SP_CHARSET_FIXED=YES" + ;; + gb2312) + SP_OPTIONS="SP_ENCODING=gb2312 SP_CHARSET_FIXED=YES" ;; ISO-8859-2) SP_OPTIONS="SP_ENCODING=ISO-8859-2"
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php