Hello all,
I should start off by stating I am a beginner programmer!
I have recently completed my Qt for Symbian app and deployed it to OVI and other various mobile stores.
I just got my first translation of my application completed in Spanish. Here are the steps I used to add the translation to the application;
- Selected File->Release in the Qt liguist tool which created the "applicationName_es.qm" file.
- Added "TRANSLATIONS = ApplicationName_es.ts" to the pro file.
- Added
to main.Qt Code:
QTranslator translator; a.installTranslator(&translator);To copy to clipboard, switch view to plain text mode
Now I would like to see if the translation works...
My version of Windows7 does not support language packs so I used the RDA to load the app on a symbian device, then switched the devices language to Spanish which I would assume should be now detected as ES and intern load the Spanish version of my app... Unfortunately it does not, only the English version is loaded....
How do I test if the translated version is working?
I have triedand it still shows up in English?Qt Code:
translator.load("ApplicationName_es.qm");To copy to clipboard, switch view to plain text mode
Any and all help would be greatly appreciated!
Cheers,
Jon
Bookmarks