From 460b830a96f8a41cd059b9ed8bae9da550e6554b Mon Sep 17 00:00:00 2001 From: Peter Jaszkowiak Date: Fri, 16 Dec 2016 20:20:33 -0700 Subject: [PATCH] Fix ajaxify loading default language translations --- public/src/ajaxify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/src/ajaxify.js b/public/src/ajaxify.js index 3c59b54408..d426d7628c 100644 --- a/public/src/ajaxify.js +++ b/public/src/ajaxify.js @@ -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); }); });