On Sat, Nov 27, 2004 at 01:43:50PM +0100, Jordi Vilalta wrote:
Hi,
On Sat, 27 Nov 2004, Yves Rutschle wrote:
>For the sake of testing, it'd be convenient to fill all the
>msgstr of an empty PO file with a copy of the msgid. That
>way, you can apply the PO to the original file, and check it
>looks the same (through whatever kind of browser is relevant
>to the format). Does such a tool exist? If not, would one be
>welcome in po4a?
I think you should have a look at po4a-normalize. It parses the document
and writes it back without translating anything.
yeah, po4a-normalize is exactly what you describe. It is called that way
because the sgml module reindent the source, so after a run through
-normalize, the source file is supposed to look better.
But I now stop to rewrite the man page:
The "po4a-normalize" script is a debugging tool used to make sure that
po4a don't change the document when it's not supposed to. Only use it if
you're developping a new module, or if you doubt the sanity of the tools.
Bye, Mt.