The National Day holiday will be very happy. These two days a little empty, translated some of the contents of the manual, is a small gift for the phper.
The new contents of all PHP5.3 were intended to be updated, but there were significant changes to the manuals, especially some directory-structured launches. You must keep up with these changes, otherwise the compilation will be wrong, not to mention further translation.
These two days mainly did the following work:
1. Migrate the translation platform to SVN
PHP's official version control system has been completely changed to SVN. The translator's SVN account is the same as the original CVS account, just need to activate it. Activation mode See Readme.first, I have been updated to SVN.
2. Control Structure
The directory structure changes, the original single file Control-structures.xml is split into multiple files, placed in the "Control-structures" directory.
Translation:
1 The original "for" part of the untranslated content.
2) Goto PHP5.3 New
3 Some of the original code comments of the missing translation
/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 section
All transferred to the Appendices directory. Later in PHP, "classes and objects" by default refers to PHP5, no longer specifically described.
In addition to the transfer file, all links are updated to point to and are consistent with the EN manual id, such as language.oop to OOP4 or LANGUAGE.OOP5 (depending on the situation)
P.S. Update these ID points it's too much of a human blood, physically alive, and very careful.
4. PHP5 Object-oriented section:
/phpdoc/zh/trunk/language/oop5.xml
/phpdoc/zh/trunk/language/oop5/inheritance.xml
/phpdoc/zh/trunk/language/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 following 4 files are not translated and remain in sync with the English version only.
The reflection part is removed.
Translation
__invoke Method Document PHP5.3 New
anonymous function PHP5.3 New
The handbook itself is not difficult, but it is really a physical activity. Each translation of a document, must fill in the document corresponding to the English version of the manual revision. This is not enough to annoy people.
There are many errors in the compilation process, with nearly 100 ID reference problems, after 2 days of effort, there are only less than 10.
Strive to compile a new version of the Handbook, including both online and CHM versions, before the National day.