Fix regression of #3543: Missing function to set current language.
This commit is contained in:
parent
3d04594fc7
commit
fd709c8203
@ -238,6 +238,7 @@ angular.module('OpenSlidesApp.core', [
|
||||
if (language.code == lang) {
|
||||
language.selected = true;
|
||||
$sessionStorage.language = lang;
|
||||
gettextCatalog.setCurrentLanguage(lang);
|
||||
// Plugins
|
||||
if (lang != 'en') {
|
||||
gettextCatalog.loadRemote("static/i18n/" + lang + ".json").then(function (success) {
|
||||
|
Loading…
Reference in New Issue
Block a user