1

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

1 Answers1

0

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.

iJungleBoy
  • 5,325
  • 1
  • 9
  • 21