Opened 7 years ago

Closed 7 years ago

Last modified 5 years ago

#5167 closed enhancement (duplicate)

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']);
});

Change History (2)

comment:1 Changed 7 years ago by kbwood

Resolution: duplicate
Status: newclosed

Thanks, but there is already a Bosnian localisation available.

comment:2 Changed 5 years ago by Scott González

Milestone: TBD

Milestone TBD deleted

Note: See TracTickets for help on using tickets.