![](https://secure.gravatar.com/avatar/28ed5c1b1f478462c65ac85e9e8f216d.jpg?s=120&d=mm&r=g)
7 Aug
2004
7 Aug
'04
11:36 a.m.
Ted Gould <ted@...11...> wrote in news:1091591851.3194.54.camel@...446...:
I'm curious if we can't solve this problem using intltool. I did the help on intltool-extract:
--type=TYPE Specify the file type of FILENAME. Currently
supports: "gettext/glade", "gettext/ini", "gettext/keys" "gettext/rfc822deb", "gettext/schemas", "gettext/scheme", "gettext/xml"
There is that type field that seems to pull strings out of an XML file. I'm not sure that it would work in this case... anyone know any more about this?
Yes, intltool can handle XML files. You basically just have to prefix each localisable element with a '_'. Example:
<text>...</text> becomes <_text>...</_text>
It's similar for attributes.
--
Karl Ove Hufthammer