Re: Requirements for translated PEAR documentation files
| From: | Thierry Bothorel. | Date: | Thu, 09 Oct 2003 02:31:22 +0000 |
| Subject: | Re: Requirements for translated PEAR documentation files | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-1580@lists.php.net to get a copy of this message | ||
Hi,
----- Original Message -----
>De: "Dennis Sterzenbach" <lists@darknoise.de>
>Unfortunately I couldn't find an answer to the following two questions:
>1st) How to correctly tag and style the translated files, and how to
>correctly maintain the status of translation.
>The people from netherlands seem to use a file named STATUS, whereas on
>this mailinglist I read about a tool (revcheck.php), which doesn't seem
>to need anything special.
>
Hi,
There is nothing to track the state of translated file. I mean 'working'
properly. I found the revcheck.php file used by some php translators and
changed only 2 lines so that it works with peardoc.
Currently, it is not very useful because it relies on the presence of the
$Revision$ tag in all english files (less than 10%). This could be changed
to 100% with a batch script that browse all english files and add the
$Revision$ tag if not there. I'm not a specialist of this, so I hope this
would seems easy to an heavy skill perl programmer :-)
Another way to avoid this requirement would be to use cvs commands to
retrieve cvs revision numbers, but this script remains to write.
Greg, Arnaud Limbourg send me a mail about this that was intended to you,
but i mistakenly deleted it. I ask him to send it again, but I don't know if
he did it. It was something about enforcing the use of the $Revision$ tag
in PhpDocumentor.
>I'm now using one of those two tag-lines (depends on status of the
>file):
><!-- $Revision $ Maintainer: darknoise Status: done -->
><!-- $Revision $ Maintainer: darknoise Status: inprogress -->
>
>Is that correct for peardoc?
Peardoc don't care about these lines, they are just comments for it. But you
should not mix on the same line the $Revision$ tag and translation comments.
Use instead :
<!-- $Revision$ -->
<!-- EN-Revision: X.x Maintainer: darknoise Status: inprogress -->
The X.x is the Revision of the english file you work on for translation.
Thierry Bothorel