[PyQt] i18n

Doug Bell dougb at bellz.org
Wed Feb 11 20:06:13 GMT 2009


Kovid Goyal wrote:
> Ditch the whole Qt translation infrastructure. Simply postprocess the
> output of pyuic4 to replace the calls to
> QtCore.QCoreApplication.translate() with _()
> 
> Then you can use gettext and the nice translation infrastructure in
> launchpad.  This has the additional advantage of not tying in your
> translation infrastructure to a graphical toolkit.

I like that idea in general, but how do you deal with translations of
strings that are internal to Qt (in file dialogs, etc.)?

Doug.


More information about the PyQt mailing list