messagingapp/msgservices/msgserviceapp/src/main.cpp
changeset 46 b1f0785c289d
parent 37 518b245aa84c
child 51 3507212d340e
--- a/messagingapp/msgservices/msgserviceapp/src/main.cpp	Fri Jul 09 14:46:10 2010 +0530
+++ b/messagingapp/msgservices/msgserviceapp/src/main.cpp	Tue Jul 13 22:09:22 2010 +0530
@@ -77,17 +77,15 @@
 {
     HbApplication app( argc, argv );
     
-    //TODO: Uncomment the lines when actual 
-    //translation files are available in sdk and remove loading locally.
+   //installing translator.
     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);
-    translator.load( "messaging_en_GB", ":/translations" );
+    QTranslator translator_comm;
+    translator.load(path + "messaging_" + locale);
+    translator_comm.load(path + "common_" + locale);
     app.installTranslator(&translator);
-    //app.installTranslator(&translator_comm);
+    app.installTranslator(&translator_comm);
 
     app.setApplicationName(LOC_TITLE);