hi,
i build one sample and it works fine. so i intend to make this sample for supporting multi-language.
i have some issue is broken font for some language like arabic, thai etc.
to be more precise, when app is shown on arabic language all control(widget) name is fine, but title name is wrong.
heres my code.
Window *configwindow = new Window();
translator.
load( QString("MyApp_" + configwindow
->getConfig
()->getString
("multilang",
"language") + ".qm"),
// QTextCodec::locale(),
MATERIAL_DIR + "/translations");
delete configwindow;
a.installTranslator( &translator );
Window *configwindow = new Window();
QTranslator translator( 0 );
translator.load( QString("MyApp_" + configwindow->getConfig()->getString("multilang","language") + ".qm"),
// QTextCodec::locale(),
MATERIAL_DIR + "/translations");
delete configwindow;
a.installTranslator( &translator );
To copy to clipboard, switch view to plain text mode
can anybody help me in advance.
your help will be appreciated!!!
regards
Bookmarks