summaryrefslogtreecommitdiffstats
path: root/askbot/templates/meta
diff options
context:
space:
mode:
Diffstat (limited to 'askbot/templates/meta')
-rw-r--r--askbot/templates/meta/html_head_javascript.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/askbot/templates/meta/html_head_javascript.html b/askbot/templates/meta/html_head_javascript.html
index 67f0ec88..07a39f80 100644
--- a/askbot/templates/meta/html_head_javascript.html
+++ b/askbot/templates/meta/html_head_javascript.html
@@ -3,6 +3,7 @@
var askbot = {};
askbot['data'] = {};
askbot['data']['userIsAuthenticated'] = {{ request.user.is_authenticated()|as_js_bool }};
+ askbot['data']['languageCode'] = '{{ current_language_code }}';
{% if request.user.is_authenticated() %}
askbot['data']['userId'] = {{ request.user.id }};
askbot['data']['userName'] = '{{ request.user.username }}';