Skip to content
Snippets Groups Projects
Commit df1383fd authored by Julian's avatar Julian
Browse files

Distribute language code with the app

parent 4766890d
No related branches found
No related tags found
1 merge request!1045Introduce Vuetify and GraphQL
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment