Martin Vermeer wrote: >> >I suspect 50% of the strings would turn out to be common. >> More like 95%, if it weren't for the sad fact that >> qt and xforms have different syntax for specifying keyboard >> shortcuts. > Is this fixable?
Sure. Given that XForms is now the junior partner, create a new i18n function or some such and use it instead of _("..."). The i18n function would transform the Qt-style syntax to XForms style and then call _("..."). If you write the i18n function I could probably be persuaded to write the script to automate the _("...") to i18n("...") in the FormFoo.C code. Thereafter, you need only make the po magic understand that it should extract strings wrapped inside i18n("...") for translation and you're done. -- Angus