[Qt-interest] Language change

Anatoly Burakov burakov.anatoly at googlemail.com
Mon Nov 2 16:05:14 CET 2009


Hi all

I can't seem to find a way to translate my app on the fly - i have set 
up everything (e.g. retranslateui everywhere etc.) but i can't seem to 
find a way to actually make QT use the translation files i provide. i 
mean they load fine if i hard-code the locale or use system-one, but i 
can't change it on the fly. The QT help says everything about handling 
the LanguageChange event, but says nothing about how to make that event 
actually happen.

Also, just as a side question - can i make Linguist ignore some of the 
strings in my ui files? Like, i have two labels and i don't need QT to 
change whatever they contain (their contents change programmatically).



More information about the Qt-interest-old mailing list