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
