Am Mittwoch, 22. Juli 2009 schrieb Michał Klich: > Hi, > > I would like to get some calrification on tr() and translate(). > On webpage > http://www.riverbankcomputing.co.uk/static/Docs/PyQt4/pyqt4ref.html#inter >nationalisation-of-pyqt-applicationsi found information that it is better > to use > QCoreApplication.translate() > instead of tr().
http://www.riverbankcomputing.com/static/Docs/PyQt4/pyqt4ref.html#differences-between-pyqt-and-qt > 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 Apart from the additional context AND the very important note above, there's none. > 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? You will have to ask more precisely, if you really want helpful answers - or even better, buy Mark Summerfields book "Rapid GUI Programming with Python and Qt" - you won't regret it! Pete _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
