lang = "ru"; .... qtTranslator = new QTranslator; qtTranslator->load("qt_" + lang, QLibraryInfo::location(QLibraryInfo::TranslationsPath)); QCoreApplication::installTranslator(qtTranslator);
QCoreApplication::installTranslator(new QTranslator)
C++ (Qt)QTranslator englishTranslator;englishTranslator.load("dummyname", "dummypath"); // вернет 0qApp->installTranslator(&englishTranslator);