QStringList languages=TranslationManager::languages();foreach(QString locale, languages){ if(locale!="untranslated") m_ui->optionsLang->addItem(QLocale::languageToString(QLocale(locale).language()), locale);}