[PyQt] PyQt: tr() or translate()

Michał Klich klich.michal at gmail.com
Wed Jul 22 17:59:51 BST 2009


Hi,

I would like to get some calrification on tr() and translate().
On webpage
http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#internationalisation-of-pyqt-applicationsi
found information that it is better to use
QCoreApplication.translate()
instead of tr().
Looks like QT Designer is using same approach. Though i can not find any
examples that would cover usage of QCoreApplication.translate(), like no one
would use it

Can someone please provide me with some additional info, some examples?
Or maybe website i am refering to is out of date?
I guess i could summarize my question, how do you create mutlilanguage apps?

-- 
Michał Klich

klich.michal at gmail.com
http://www.michalklich.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20090722/af216148/attachment.html


More information about the PyQt mailing list