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