diff -r ebfee66fde93 -r 84197e66a4bd messagingapp/msgnotifications/msgnotifier/src/main.cpp --- a/messagingapp/msgnotifications/msgnotifier/src/main.cpp Fri Jun 04 10:25:39 2010 +0100 +++ b/messagingapp/msgnotifications/msgnotifier/src/main.cpp Fri Jun 11 13:35:48 2010 +0300 @@ -17,6 +17,8 @@ //SYSTEM INCLUDES #include +#include +#include #include #include #include @@ -70,7 +72,15 @@ int main(int argc, char *argv[]) { QCoreApplication app(argc, argv); - + QString locale = QLocale::system().name(); + QString path = "z:/resource/qt/translations/"; + QTranslator translator; + QTranslator translator_comm; + translator.load(path + QString("messaging_") + locale); + translator_comm.load(path + QString("common_") + locale); + app.installTranslator(&translator); + app.installTranslator(&translator_comm); + #ifdef _DEBUG_TRACES_ //Debug Logs QFile ofile;