Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

jQuery UI datepicker translation

How can I translate the datepicker from jQuery UI into an other language (german for exaple)?

like image 841
user63371 Avatar asked Feb 07 '09 14:02

user63371


People also ask

How do I change the language on datepicker?

Edit file "bootstrap-datepicker.js" to add your languages: Show activity on this post. Download Language wise all datepicker files from here: [https://github.com/jquery/jquery-ui/tree/master/ui/i18n][1] I hope it will work. Show activity on this post.

How can change date format in jQuery ui datepicker?

inside the jQuery script code just paste the code. $( ". selector" ). datepicker({ dateFormat: 'yy-mm-dd' });

What is minDate and maxDate in jQuery datepicker?

If you like to restrict access of users to select a date within a range then there is minDate and maxDate options are available in jQuery UI. Using this you can set the date range of the Datepicker. After defining these options the other days will be disabled which are not in a defined range.

What is datepicker in jQuery?

A date-picker of jQuery UI is used to provide a calendar to the user to select the date from a Calendar. This date picker usually connected to a text-box so user selection of date from the calendar can be transferred to the textbox.


1 Answers

There are already localized versions of the jQuery Datepicker. The demo doesn't appear to work as intended, but if you take the source code and build a page, you can see that it works

EDIT:

You can see the working versions here

like image 122
Russ Cam Avatar answered Sep 23 '22 15:09

Russ Cam