Datepicker localization

QuestionsDatepicker localization
Massimo Gagliardi asked 9 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 9 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 9 years ago

Thank you Abu.
You are a true number one.

Your Answer

17 + 12 =

Login with your Social Id:

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 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

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

Let us improve this post!

Tell us how we can improve this post?