Home  |  Linux  | Mysql  | PHP  | XML
From:Hannes Magnusson Date:Fri Apr 18 15:10:25 2008
Subject:Re: [DOC-DA] cvs: phpdoc-da / bookinfo.xml translation.xml
On Fri, Apr 18, 2008 at 10:43 PM, Emil Henriksen <rmlr@php.net> wrote:
>
>
> > Date: Fri, 18 Apr 2008 21:46:26 +0200
> > From: hannes.magnusson@gmail.com
> > To: rmlr@php.net
> > Subject: Re: [DOC-DA] cvs: phpdoc-da / bookinfo.xml translation.xml
> > CC: doc-da@lists.php.net
> >
> > 2008/4/18 Peter Emil Henriksen <rmlr@php.net>:
> > > rmlr Fri Apr 18 18:33:18 2008 UTC
> > >
> > > Modified files:
> > > /phpdoc-da bookinfo.xml translation.xml
> > > Log:
> > > Add translator (RMLR)
> >
> > Rather than repeating myself, please look at my last response to a
> > commit like this: http://news.php.net/php.doc.da/432
> > Are you guys really doing anything or do you simply want credits?
>
>  Wasn't really aware of that, I'll just remove it again, untill something's
> translated.

I appreciate it, thank you.

> > The docs are built every 4hours on docs.php.net
> > (http://docs.php.net/manual/da/manual.php) just waiting for you guys
> > to work on it.
>
>  Kalle said something about clear it all up, and wait to translate anything
> untill it all was replaced with the original (updated) english files.
>  I'm not 100% sure what he meant, but I do know it is easiest just to start
> all over, and hopefully he will update me 100% tomorrow.


Looking over http://doc.php.net/php/da/revcheck.php it looks like most
of the files are really out of date.. it is up to you guys to decide
if you want to start fresh or not.

To quickly explain of this all works (assuming you'll start from scratch):
 1) cvs -d:pserver:cvsread@cvs.php.net/repository co phpdoc-da
This will checkout the Danish translation, the English files and other
dependecies

 2) cd phpdoc-da
Enter the checkout root dir
The root folder should _NOT_ be translated. Please do not touch any
files outside of the da/ folder.

 3) cp en/*.ent da/
Copy the most important files to translate.
NOTE: Make sure you DO NOT copy the CVS folder. It is _extremely_
important that that folder is _not_ copied to da/

 4) vim da/*.ent
Open them up on your preferred edited.
Make sure your editor is using the same encoding as specified in the
encoding XML headers.
Using latin-1 but using encoding="utf-8" is an syntax error in XML

 5) Translate the file, hit :wn
After finishing with one file then save it and translate the next one

 6) php configure.php --with-lang=da
Test the changes.

 7) cvs -d:pserver:yourusername@cvs.php.net/repository add *.ent
Add the files to the CVS repo

 8) cvs -d:pserver:yourusername@cvs.php.net/repository diff
Make sure the there are no accidental files added, and that all files
added have been translated

 9) cvs -d:pserver:yourusername@cvs.php.net/repository commit *.ent
Commit the new files


The buildsystem (configure.php) will automatically pull in the
original english versions of the files if they do not exist in da/, so
there is absolutely no point in duplicating any English files in the
da/ directory.


If you guys need any help or have any questions at all do not hesitate
to ask! :)
Preferably keep all questions on-list (either phpdoc@lists.php.net or
doc-da@lists.php.net), that way newcomers can "do their homework" by
searching the archives for problems they encounter and gives more
people the chance of chime in.

We do have an IRC channel, #php.doc on EFNet, where some of us hang out...

-Hannes
Navigate in group php.doc.da at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants