To set the language for JS Timeline one must add this line inside the createStoryJS in the apps scripts.js :
lang: "de"
How would you go about having this set automatically to the current DNN Language?
Thanks
To set the language for JS Timeline one must add this line inside the createStoryJS in the apps scripts.js :
lang: "de"
How would you go about having this set automatically to the current DNN Language?
Thanks
A quick solution would be to have some server side code like
Pseodo code:
<script>
var langPage = "@Thread.CurrentThread.CurrentCulture";
</script>
now you have the languge in your JS, and can re-use it.