I have to change the datepicker language in my application(to "nl") , without changing the Application Primary Language (that would work just fine, but I won't go into details why I can't change the Application Primary Language).
I've included jquery.ui.datepicker-nl.js in my application (as static aplication file), and running
$.datepicker.regional
in the browser console shows that locale nl is available.
I'm struggling to set this locale. I've tried this On Page Load
$.datepicker.setDefaults( $.datepicker.regional[ "nl" ] );
but the datepicker is still in English.
Any ideas how I can change the datepicker locale without changing Application Primary Language?