Yang Hua wrote:
Hi,
Is there a way to use XML resources with gettext support?
I have made up several dialogs and menus in XML resource file and I just
want to add another language support into my program. How can I add
gettext to it? Or I have to make an XML file for each one?
No, XRC will run wxGetTranslation on all text labels and such if the wxXRC_USE_LOCALE flag is given to wxXmlResource (it uses that flag by default.) Also, the wxrc utility has an option to output gettext compatible list of translatable strings from an xrc file.
ยทยทยท
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!