As an open-source project, php/doc-zh has picked up 173 stars on GitHub. Chinese translation of the PHP documentation
Snapshot summary built from the project's own GitHub metadata — there's no written TopGit review yet. The page will update automatically when a full review is published.
WHY NO REVIEW YET
TopGit writes full reviews for the most-starred, most-requested repositories. This page is a snapshot until then — see the READ ME tab for the original README in full.
请参加翻译的人员,一定要在提交翻译完成的 XML 文件前运行 php configure.php --with-lang=zh 命令,检查文件是否有语法和拼写错误。
有关在翻译后的中文文件中的空格与换行的说明
在原始的英文 XML 文件中不存在此问题,因为英文单词之间本来就有一个空格,而无论是 XML 文件还是编译后的 HTML 文件对待任何连续的空格,回车以及制表符都当成一个空格看待。但是在中文书写习惯中,汉字之间以及与中文标点符号之间都是没有空格的。因此英文文件中类似这样的段落:
<para>
This section applies to Windows 95/98/Me and
Windows NT/2000/XP. Do not expect PHP to work on
16 bit platforms such as Windows 3.1. Sometimes
we refer to the supported Windows platforms as Win32.
</para>
在编译后显示出来当然完全正常。可是如果翻译成这样:
<para>
本节内容适用于 Windows 95/98/Me 以及 Windows NT/2000/XP。
PHP 不能在 16 位平台例如 Windows 3.1 下运行。有时我们把
支持 PHP 的 Windows 平台称为 Win32。
</para>
就会在 HTML 页面显示时在“XP。”和“PHP 不能”以及“我们把”和“支持”之间出现一个不希望的空格,破坏了页面的美观。这种情况下当然可以将翻译的结果全部放到同一行中来解决,例如:
<para>
本节内容适用于 Windows 95/98/Me 以及 Windows NT/2000/XP。PHP 不能在 16 位平台例如 Windows 3.1 下运行。有时我们把支持 PHP 的 Windows 平台称为 Win32。
</para>
TopGit's metadata for php/doc-zh does not record a license. Most public repositories on GitHub ARE open source, but the exact terms vary — verify by opening the LICENSE file directly.
What is php/doc-zh?
php/doc-zh (php/doc-zh) is a multi-language project on GitHub. From the project's own README: Chinese translation of the PHP documentation
Where do I read more about php/doc-zh?
This TopGit page is a snapshot — the READ ME tab shows the project's own README content (links stripped, images preserved). The GitHub repository at github.com/php/doc-zh is the definitive source.
Read full README in the tab above.
Is doc-zh worth your time?
ChatGPT, Claude and Perplexity can all read this page. Ask one of them what it makes of doc-zh.