Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QTranslator translator;
- QString locale_string = QLocale().name();
- QString filename = QString( "ITSources_%1" ).arg( locale_string );
- if (translator.load(filename, "app/native/qm")) {
- app.installTranslator( &translator );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement