I have calendar functionality in my application.I am referring from http://jqueryui.com/datepicker/. I had seen the "Localize Calendar" example in that web page.But there itself localization is not working.Is it bug or anything i need to do extra.
My Code
$(function () {
$.datepicker.setDefaults( $.datepicker.regional[ "fr" ] );
$("#w_datePicker").datepicker({
showOn: "button",
buttonImage: "style/images/calendar.gif",
buttonImageOnly: true,
altField: '#show_date_on_select',
altFormat: 'DD, MM d',
//dateFormat: 'DD, MM d',
onSelect: function (dateText, inst) {
//var selDate = FormatDate(dateText);
//$("#show_date_on_select").html(selDate);
}
});
});
i guess you need to have a language file for your selected language as well. From here: Datepicker Language File
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With