We do this for language-selector and usb-creator already, which allows us to have one single source for messages to be translated in Launchpad, as well as one single set of messages installed in a central location in the system.
Having this generic class that calls gettext instead of the Qt translate call would not only be useful for Unity, but also for any other Qt application, now that we're embracing Qt apps in Ubuntu.
+1 on using gettext natively too.
We do this for language-selector and usb-creator already, which allows us to have one single source for messages to be translated in Launchpad, as well as one single set of messages installed in a central location in the system.
See Jonathan's summary on the state of Qt translations: /wiki.kubuntu. org/QtTranslati ons
https:/
Having this generic class that calls gettext instead of the Qt translate call would not only be useful for Unity, but also for any other Qt application, now that we're embracing Qt apps in Ubuntu.