Search and Top Navigation
#5167 closed enhancement (duplicate)
Opened February 11, 2010 12:24PM UTC
Closed February 11, 2010 11:35PM UTC
Last modified October 11, 2012 09:15PM UTC
Adding new language for date picker
| Reported by: | c0mrade | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | ui.datepicker | Version: | 1.8b1 |
| Keywords: | Bosnian | Cc: | |
| Blocked by: | Blocking: |
Description
Hello,
I wonder if you could add a new language(Bosnian) feature for jquery-ui datepicker, here is the code for localization if you decide to put it:
jQuery(function($){
$.datepicker.regional['ba'] = {
closeText: 'Zatvori',
prevText: '<',
nextText: '>',
currentText: 'Danas',
monthNames: ['Januar','Februar','Mart','April','Maj','Juni',
'Juli','August','Septembar','Oktobar','Novembar','Decembar'],
monthNamesShort: ['Jan','Feb','Mart','Apr','Maj','Jun',
'Juli','Aug','Sep','Okt','Nov','Dec'],
dayNames: ['Nedelja','Ponedeljak','Utorak','Srijeda','Četvrtak','Petak','Subota'],
dayNamesShort: ['Ned','Pon','Uto','Sri','Čet','Pet','Sub'],
dayNamesMin: ['N','P','U','S','Č','P','S'],
dateFormat: 'dd.mm.yy.', firstDay: 1,
isRTL: false};
$.datepicker.setDefaults($.datepicker.regional['ba']);
});
Thanks, but there is already a Bosnian localisation available.