Init i18n with the locale set by the user

This commit is contained in:
Antonin Delpeuch 2018-11-21 18:26:55 +00:00
parent 6ac821c844
commit 333c027b0b
2 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ $.ajax({
} }
}); });
$.i18n().load(dictionary, lang); $.i18n().load(dictionary, lang);
$.i18n({ locale: lang });
// End internationalization // End internationalization
Refine.selectActionArea = function(id) { Refine.selectActionArea = function(id) {

View File

@ -50,6 +50,7 @@ $.ajax({
} }
}); });
$.i18n().load(dictionary, lang); $.i18n().load(dictionary, lang);
$.i18n({ locale: lang });
// End internationalization // End internationalization
var Refine = { var Refine = {