There seem to be some other problem with the code!
When I run 'make revcheck' in pypdoc root, I get:
PHPDOCDIR=. ../phpdoc-tools/php.bat -c ./scripts -f ./scripts/revcheck.php
zh_ch > revcheck.html
make: *** [revcheck.html] Error 255
and all in the revcheck.html file is "The zh_cn language code is not valid!"
Is it the problem with zh_cn code?
--
Gregory Song [EMAIL PROTECTED] http://www.windia.net +86-28-83203038-203
> -----Original Message-----
> From: Gabor Hojtsy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 18, 2002 6:38 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DOC] cvs: phpdoc / configure.in
>
>
> 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
>
>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php