I'm using Qt Designer 4.6 to create all dialogs in our application. This application is multilingual and allows the user to switch the language at runtime. When the language changes, I install a new QTranslater using QApplication::installTranslator(). Because of this, Qt automatically generates a LanguageChange event, which is sent to all top-level widgets. see also http://doc.trolltech.com/4.6/interna...ic-translation. When I receive a LanguageChange event, I simply call function retranslateUi(this), which is generated by designer. This function simply sets the text property on all widgets again. So far so good.

The problem is, that this approach doesn't work for widgets, whose text property is filled with a specific value which is determinated at runtime. E.g. I have an about dialog which shows the firmware version number of a connected mobile phone. If this about dialog is open, and the user changes the language at the same time, the version number field will be overwritten, with the "place-holder" string which I have enetered in Qt designer. Also the place-holder string appears in Qt Linguist.

Is there a smart way, to mark widgets in Qt designer, so that they are not automatically translated. Or with other words, that designer doesn't enclose those strings in QApplication::translate()

Thx