mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
reload plugins after changing language to respect localization
This commit is contained in:
committed by
svenhoefer
parent
b2d5287624
commit
62aa1c0b76
@@ -76,6 +76,7 @@ int COsdLangSetup::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
|
||||
if (!actionKey.empty()) {
|
||||
g_settings.language = actionKey;
|
||||
g_PluginList->loadPlugins();
|
||||
g_Locale->loadLocale(g_settings.language.c_str());
|
||||
return menu_return::RETURN_EXIT;
|
||||
}
|
||||
|
Reference in New Issue
Block a user