is there a way to change the date picker language?
I can't find any reference file to edit...
TIA
tony
ok,
I just found a solution:
1- copy the localization file from here (https://github.com/jquery/jquery-ui/tree/master/ui/i18n) and put it on your server; don't forget to link it on your page putting it below the jquery-ui.js link.
2- add the localization definition to the WA datepicker function:
[snip]
$(function(){
>>>>>>> $.datepicker.setDefaults($.datepicker.regional['it']);
$('#datepicker_1').datepicker({
dateFormat: 'dd/mm/yy',
showAnim: 'explode',
onClose: closeDatePicker_datepicker_1
});
});
[snip]
HTH
tony