Fix regression of #3543: Missing function to set current language.

This commit is contained in:
Emanuel Schütze 2018-01-21 10:04:50 +01:00
parent 3d04594fc7
commit fd709c8203
1 changed files with 1 additions and 0 deletions

View File

@ -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) {