Fix ajaxify loading default language translations

v1.18.x
Peter Jaszkowiak 8 years ago committed by Julian Lam
parent daf3ab4db4
commit 460b830a96

@ -96,7 +96,7 @@ $(document).ready(function () {
app.template = data.template.name;
require(['translator'], function (translator) {
translator.load(config.defaultLang, data.template.name);
translator.load(translator.getLanguage(), data.template.name);
renderTemplate(url, data.template.name, data, callback);
});
});

Loading…
Cancel
Save