[Po4a-devel] Putting multiple translations in an XML document

Nicolas François nicolas.francois at centraliens.net
Wed Nov 18 20:19:35 UTC 2009


Hi,

On Wed, Nov 18, 2009 at 03:50:13PM +0100, fgouget at free.fr wrote:
> 
> I would like to get:
> 
> <?xml version="1.0" encoding="UTF-8" ?>
> <root>
>   <global>
>     <name>To be translated</name>
>     <name lang="fr">A traduire</name>
>     <name lang="de">de--To be translated--de</name>
>     <other>foo</other>
>     <yetother>bar</yetother>
>   </global>
> </root>

There are currently no support in po4a to produce files containing
multiple translations.

I fear it is not just a matter of making a module or tools (like
po4a-translate). The core of po4a (the TransTractor module) was not
designed to support it.

There were some ideas around to support it for some formats (Java
properties, .desktop, debconf templates, etc.), but nothing currently.

Work on this would be welcome.

Best Regards,
-- 
Nekral



More information about the Po4a-devel mailing list