diff --git a/aleksis/core/static/js/vue/app.js b/aleksis/core/static/js/vue/app.js index 1f4d505573a6dec58aa168d2d242c9a857039020..10ea680c12e75cb9731af764d0cc4ef535f5a7b1 100644 --- a/aleksis/core/static/js/vue/app.js +++ b/aleksis/core/static/js/vue/app.js @@ -64,6 +64,7 @@ const app = new Vue({ django: window.django, // FIXME: maybe just use window.django in every component or find a suitable way to access this property everywhere showCacheAlert: false, + languageCode: JSON.parse(document.getElementById("current-language").textContent), }), components: { "cache-notification": CacheNotification,