Open simobgl opened 8 years ago
Yes you can localize MultiDatePicker. I localize it to French
<script type="text/javascript" src="scripts/jquery-ui.multidatespicker.js"></script>
<script type="text/javascript" src="scripts/datepicker-fr.js"></script>
Care, this is not working on full-year calendar for me at the moment.
Hi, it works perfectly in my implementation.
Many thanks for this wonderful addon.
Simone Baglioni
thibault fouillat mailto:notifications@github.com 12 maggio 2016 11:02
Yes you can localize MultiDatePicker. I localize it to French
- Download your localization file : https://github.com/jquery/jquery-ui/tree/master/ui/i18n
- Insert this file on your view after the multidatepicker like this :
|<script type="text/javascript" src="scripts/jquery-ui.multidatespicker.js">
| capture https://cloud.githubusercontent.com/assets/5212439/15209355/e021a9f6-1830-11e6-9ab9-d410abe62a6b.PNG Care, this is not working on full-year calendar for me at the moment. — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/dubrox/Multiple-Dates-Picker-for-jQuery-UI/issues/176#issuecomment-218699931
Which method do you use to serialize/deserialize the addDates field? .val() returns a string, addDates takes an array. Best Regards,
Simone B.
thibault fouillat mailto:notifications@github.com 12 maggio 2016 11:02
Yes you can localize MultiDatePicker. I localize it to French
- Download your localization file : https://github.com/jquery/jquery-ui/tree/master/ui/i18n
- Insert this file on your view after the multidatepicker like this :
|<script type="text/javascript" src="scripts/jquery-ui.multidatespicker.js">
| capture https://cloud.githubusercontent.com/assets/5212439/15209355/e021a9f6-1830-11e6-9ab9-d410abe62a6b.PNG Care, this is not working on full-year calendar for me at the moment. — You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/dubrox/Multiple-Dates-Picker-for-jQuery-UI/issues/176#issuecomment-218699931
You simply need to put your string value / values into an array and use addDates: yourArray.
In the addDates you can use multiple array like this : addDates: [array1, array2], it's working for me.
PS: sorry for late, can't connect before :(
I localize my vanilla DatePicker as in http://stackoverflow.com/questions/494958/how-do-i-localize-the-jquery-ui-datepicker. Can I do the same with Multiple-Dates-Picker-for-jQuery-UI? BTW... very nice work.