Dnia niedziela 26 lipca 2009 o 22:27:02 Hans-Peter Jansen napisał(a): > Am Sonntag, 26. Juli 2009 schrieb Michał Klich: > > Dnia czwartek 23 lipca 2009 o 02:05:08 Hans-Peter Jansen napisał(a): > > > 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#i > > > >nter 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#diffe > > >renc es-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 > > > > Thank you very much for this book. I have been looking around for some > > good books and actually skipped this one. You can't judge a book by its > > cover but i did. > > I did judge it by its contents, and it's been a very long time that I > enjoyed reading a technical book that much. Mark did a brillant job for one > of the most underestimated technologies available today ;-). > > Pete > > _______________________________________________ > PyQt mailing list [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/pyqt
I have my hands on this book and i can concur with you. It is very good, well written and covers what i had to do. At this point i have no doubts how to prepare translations. Thank you guys so much and Mark Summefield in first place :) -- Michał Klich [email protected] [email protected] http://www.michalklich.com _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
