Le 11/2/2009, "Frédéric" <[email protected]> a écrit:

>Does anybody could point me on example how to use i18n in PyQt?
>
>Riverbank documentation says that one should not use tr() method, but
>instead QtCore.QCoreApplication.translate(). As the object must be
>passed to this method, this not improves the readability :o/
>
>Are there some tips, for example, to bind the _() method I use with
>gettext and PyGTK? Something to help me migrate my code without having
>to modify it everywhere...

Thank you all for your help.

I think I will switch to tr() method (and translate() one if needed), as
I don't want to hack pylupdate4...


--
   Frédéric

_______________________________________________
PyQt mailing list    [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to