Check the paths, whether they are ok:
This one has a directory given :
qtTranslator.load("qt_" + QLocale::system().name(),
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
This one is missing directory:
myappTranslator.load("freetrack_" + QLocale::system().name());
-antti
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Willy Gardiol
Sent: 17. marraskuuta 2010 17:55
To: [email protected]
Subject: [Qt-mobility-feedback] Multilanguage support...
Ok people, i am really getting crazy here!
I have a QtMobility app with one extra language. I have the qm file, where
should i put it for Symbian deployment?
I triyed to add this line:
extrafiles =
"\"freetrack_it.qm\"-\"!:\resource\qt\translations\FreeTrack_it.qm\""
my_deployment.pkg_prerules += dextrafiles
DEPLOYMENT += my_deployment
to my PRO file... the file gets copied, but it is not used by my code,
which is:
QTranslator qtTranslator;
qtTranslator.load("qt_" + QLocale::system().name(),
QLibraryInfo::location(QLibraryInfo::TranslationsPath));
a.installTranslator(&qtTranslator);
QTranslator myappTranslator;
myappTranslator.load("freetrack_" + QLocale::system().name());
a.installTranslator(&myappTranslator);
What i am missing here?
--
---
Willy Gardiol
[email protected]
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback