Re: [DOC-DA] cvs: phpdoc-da / bookinfo.xml translation.xml
[email protected] ("Hannes Magnusson") Fri, 18 Apr 2008 23:10:25 +0200
| Newsgroups | php.doc.da |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Apr 18, 2008 at 10:43 PM, Emil Henriksen <[email protected]> wrote: > > > > Date: Fri, 18 Apr 2008 21:46:26 +0200 > > From: [email protected] > > To: [email protected] > > Subject: Re: [DOC-DA] cvs: phpdoc-da / bookinfo.xml translation.xml > > CC: [email protected] > > > > 2008/4/18 Peter Emil Henriksen <[email protected]>: > > > 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:[email protected]/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:[email protected]/repository add *.ent Add the files to the CVS repo 8) cvs -d:pserver:[email protected]/repository diff Make sure the there are no accidental files added, and that all files added have been translated 9) cvs -d:pserver:[email protected]/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 [email protected] or [email protected]), 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