Well, I removed the whole zh subdirectory from phpdoc/ and run 'cvs checkout phpdoc-zh' at /phpdoc/, but this created a phpdoc-zh directory under phpdoc/ and then start to download file in molude phpdoc. It is to say that all files I get in the new phpdoc/phpdoc-zh create by that command are the same with those in phpdoc/ directory! What's wrong with it?
Greg -----Original Message----- From: Gabor Hojtsy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 17, 2002 5:58 PM To: Gregory Song; Xiao Shengwen; [EMAIL PROTECTED] Cc: PHPDOC-ZH Subject: Re: [PHP-DOC] error when checkout phpdoc-zh?? > According to the PHP Documentation HOWTO, I should create a > sub-dir named 'zh' at the phpdoc directory, and then copy all > files in phpdoc/en into phpdoc/zh, and then autoconf with the > parameter '--with-lang=zh', but I still don't know where and > what to run to checkout both of the two language, en and zh. Well, that's not true anymore. You should check out the phpdoc module and then go into the check out phpdoc direcyory, and check out phpdoc-zh *there*! This will create a zh directory under the phpdoc directory and all will be correct. When you update, you can always use 'cvs update phpdoc' to update the phpdoc module, and it will automatically update the other checked out modules too. You **should not** copy all files from phpdoc/en/* to phpdoc/zh/*, you just need to copy the files needed for generation, like the .ent files and at least one .xml file from the phpdoc/en/ dir. The files which are in the phpdoc/en directory and subdirectores will be used if there is no corresponding file with the same path and name in the zh directory. I'll try to expand the howto docs to include the latest information. Goba -- 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