The National Day holiday is approaching. These two days are a little blank. After translating some content in the manual, it is a small gift for phper.
I wanted to update all the new php5.3 content, but I found that the manual has been greatly changed, especially the launch of some directory structures. You must keep up with these changes first. Otherwise, compilation may fail, let alone further translation.
The two gods have done the following:
1. migrate the translation platform to SVN
The official PHP version control system has been completely changed to SVN. The SVN account of the translator is the same as the original CVS account. You only need to activate it. For activation methods, see readme. first. I have updated it to SVN.
2.Control Structure
Directory structure change, the original single file control-structures.xml is split into multiple files, put in the "control-structures" directory.
Translation:
1) The original "for" part of the untranslated content.
2) added goto php5.3.
3) original untranslated code comments
/Phpdoc/zh/trunk/Language/control-structures.xml
/Phpdoc/zh/trunk/Language
/Phpdoc/zh/trunk/Language/control-Structures
/Phpdoc/zh/trunk/Language/control-structures/alternative-syntax.xml
/Phpdoc/zh/trunk/Language/control-structures/break. xml
/Phpdoc/zh/trunk/Language/control-structures/continue. xml
/Phpdoc/zh/trunk/Language/control-structures/declare. xml
/Phpdoc/zh/trunk/Language/control-structures/do-while.xml
/Phpdoc/zh/trunk/Language/control-structures/else. xml
/Phpdoc/zh/trunk/Language/control-structures/elseif. xml
/Phpdoc/zh/trunk/Language/control-structures/for. xml
/Phpdoc/zh/trunk/Language/control-structures/foreach. xml
/Phpdoc/zh/trunk/Language/control-structures/Goto. xml
/Phpdoc/zh/trunk/Language/control-structures/If. xml
/Phpdoc/zh/trunk/Language/control-structures/include-once.xml
/Phpdoc/zh/trunk/Language/control-structures/include. xml
/Phpdoc/zh/trunk/Language/control-structures/require-once.xml
/Phpdoc/zh/trunk/Language/control-structures/require. xml
/Phpdoc/zh/trunk/Language/control-structures/return. xml
/Phpdoc/zh/trunk/Language/control-structures/switch. xml
/Phpdoc/zh/trunk/Language/control-structures/while. xml
/Phpdoc/zh/trunk/Language/control-structures/Goto. xml
3.PhP4 object-oriented
All data is transferred to the appendices directory. In the future, the "class and object" in PHP will refer to PhP5 by default.
In addition to transferring files, all links are updated and consistent with the en manual ID. For example, change language. Oop to oop4 or language. oop5 (depending on the situation)
P.s. update these IDs to point too high for people to vomit blood, to be physically active, and to be very careful.
4. PhP5 object-oriented section:
/Phpdoc/zh/trunk/Language/oop5.xml
/Phpdoc/zh/trunk/Language/oop5/inheritance. xml
/Phpdoc/zh/trunk/languages/oop5/late-static-bindings.xml
/Phpdoc/zh/trunk/Language/oop5/properties. xml
/Phpdoc/zh/trunk/Language/oop5/references. xml
/Phpdoc/zh/trunk/Language/oop5/typehinting. xml
The last four files are not translated. They are only synchronized with the English version.
The reflection part is removed.
Translation
_ Invoke method document php5.3 added
Added the anonymous function php5.3.
It is not difficult to translate the manual, but it is really a physical activity .. Each time you translate a document, you must enter the revision of the English version of the document. This alone is annoying.
Many errors occurred during compilation, with nearly 100 ID references. After two days of hard work, there were less than 10 errors.
We strive to compile a new version of manual, including the online version and CHM version, before the National Day.