Re: Fwd: Dear Mr./Mrs.
| From: | Hannes Magnusson | Date: | Tue, 04 Nov 2008 21:53:58 +0000 |
| Subject: | Re: Fwd: Dear Mr./Mrs. | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969379627@lists.php.net to get a copy of this message | ||
On Tue, Nov 4, 2008 at 22:41, vadim gavrilov <vadimg88@gmail.com> wrote:
> Yea, I just entered
> http://il2.php.net/manual/en/function.array-sum.php
> and wrote the same thing just in hebrew in my site, I know this is not the
> way it's done, but i didn't know the access to the CSV.
http://php.net/dochowto should explain everything from getting
a
(anonymous) CVS checkout to building the XML files into .html files.
In principle:
1) You do a checkout of the your language containing the original
english XML (and the "configuration system")
2) Install the build system
3) Test your setup
4) Copy some .xml files from the english folder to your translation dir
5) Translate the file
6) Test your changes
7) Repeat 4, 5 and 6
Command wise this would be:
1)
cvs -d:pserver:cvsread@cvs.php.net/repository login
# the password is phpfi, see http://php.net/anoncvs
cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc-il
cd phpdoc-il
2)
pear channel-discover doc.php.net
pear install doc.php.net/phd-beta
3)
php configure.php --with-lang=il # this generates .manual.xml
phd -d .manual.xml -t chunkedhtml # this creates html/ folder
# browse some files in the html/ folder and make sure everything is fine
4)
mkdir -p il/reference/array/functions
cp en/reference/array/functions/*.xml il/reference/array/functions/
# Do *NOT* copy *any* directories, especially *NOT* the "CVS" folder
5)
Open your favourite editor and translate the text
6)
php configure.php --with-lang=il
phd -d .manual.xml -t chunkedhtml
# browse the newly created/updated files in html/
-Hannes