QTranslator qtTranslator; qtTranslator.load(QLatin1String("qt_") + QLocale::system().name(), QLibraryInfo::location(QLibraryInfo::TranslationsPath)); app.installTranslator(&qtTranslator); QTranslator pcwTranslator; pcwTranslator.load("profilechangerwidget_" + QLocale::system().name(), "/opt/profilechangerwidget"); app.installTranslator(&pcwTranslator);
I created a QT homescreen widget for maemo 5.
The settings dialog (QDialog) has a "Done" button which replaces the okay button. This information is here:
http://doc.qt.nokia.com/qt-maemo/pla...i-style-guides
In QT Code the Done text is marked as translatable:
http://qt.gitorious.org/+qt-develope...ox.cpp#line684
I did the following to have my app translatable:
See the attached screenshot
Your packages are waiting too long to get tested? HowTo encourage at TMO.