Datepicker localization

QuestionsDatepicker localization
Massimo Gagliardi asked 5 years ago

I visited and I followed the steps to the localization and I understood how obtain a control in italian language, but, I ask, where I must put the declaration:

$.datepicker.setDefaults( $.datepicker.regional[ "it" ] );

and where I must download the jquery.ui.datepicker-it.js ??

Thanks in advance

2 Answers
Abu Ghufran answered 5 years ago

Add following code in html head, after downloading and setting lang file path. e.g.

<script src="; type="text/javascript"></script>
$.datepicker.setDefaults( $.datepicker.regional[ "ar" ] );

All language files can be downloaded from:

Massimo Gagliardi answered 5 years ago

Thank you Abu.
You are a true number one.

Your Answer

19 + 17 =

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.

How useful was this discussion?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!