Changing locale dynamically

Hello how to change the locale dynamically with js?

like

scheduler.locale = “en” or
scheduler.locale = “de”

thanks!

trony2014, hello.

You need to save information from locale_**.js files.
And then something like sxheduler.locale = your_locale_object[‘de’]

Or using AJAX to load this locale_**.js files as string. And scheduler.locale = your_ajax_locale_object[‘de’]