[PyKDE] Phil: Any chance of getting the TR (translate) method working?

Boudewijn Rempt boud at rempt.xs4all.nl
Thu Aug 30 22:22:24 BST 2001

On Thursday 02 August 2001 00:31, Phil Thompson wrote:
> Bryan Brunton wrote:
> > (Reposting due to no response from previous post)
> >
> > Does anyone have the QObject.tr() method working?
> >
> > You can use the .qm file from the QT 2.3.1 i8ln example to test the code
> > down below.  The QApplication.translate method will correctly translate. 
> > The tr method of the MyWidget object will not.
> Which version of PyQt? It's broken in 2.4 but should be fixed in the 2.5
> pre-releases. (But note that the 2.5 releases will only compile against
> Qt 2.3.1 - but that has been fixed in the CVS.)
> Phil

I'm now also working on this topic, and I found that even with PyQt 2.5,
the tr function doesn't work - a bit of a wrench, since that's the last bit
I need to finish the last-but-one chapter of Part III!

More information about the PyQt mailing list