bug-gettext
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gettext] XML Support


From: Shaun McCance
Subject: Re: [bug-gettext] XML Support
Date: Tue, 14 May 2013 10:22:44 -0400

On Wed, 2013-05-08 at 20:18 +0200, Éloi Rivard wrote:
> Hi,
> 
> I posted on Savannah a feature request about XML but I realize here is
> maybe a better place to talk about it.
> A lot of programs have their own XML based data file. It would be
> great if xgettext could parse any XML file and extract translatable
> strings, as it does with glade for example, but in a more general
> way. 
> There could be some language specific options to allow extraction from
> tag name (<translatable>Foo bar foo bar</translatable>) or from tag
> parameter (<foobar translatable="yes" />), as it is done with Glade
> now.

There's a standard for this:

http://www.w3.org/TR/its/

And there's a tool that uses that standard to do XML<->PO:

http://itstool.org/

--
Shaun






reply via email to

[Prev in Thread] Current Thread [Next in Thread]