UK localisation

5 views
Skip to first unread message

stew90

unread,
Sep 24, 2009, 10:30:54 AM9/24/09
to jQuery UI Development
Hi,

Can you please add in UK localisation?
I think the correct code is as below:

jQuery(function($){
$.datepicker.regional['en-gb'] = {
closeText: 'Done', // Display text for close link
prevText: 'Prev', // Display text for previous month link
nextText: 'Next', // Display text for next month link
currentText: 'Today', // Display text for current month link
monthNames: ['January','February','March','April','May','June',
'July','August','September','October','November','December'], //
Names of months for drop-down and formatting
monthNamesShort: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul',
'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], // For formatting
dayNames: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday',
'Friday', 'Saturday'], // For formatting
dayNamesShort: ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], //
For formatting
dayNamesMin: ['Su','Mo','Tu','We','Th','Fr','Sa'], // Column
headings for days starting at Sunday
dateFormat: 'dd/mm/yy', // See format options on parseDate
firstDay: 1, // The first day of the week, Sun = 0, Mon = 1, ...
isRTL: false };
$.datepicker.setDefaults($.datepicker.regional['en-GB']);
});


Thanks,

Stuart

Scott González

unread,
Oct 5, 2009, 9:49:52 PM10/5/09
to jquery...@googlegroups.com

Richard D. Worth

unread,
Oct 6, 2009, 6:56:39 AM10/6/09
to jquery...@googlegroups.com
Patched attached. Ready for review.

- Richard

2009/10/5 Scott González <scott.g...@gmail.com>
Reply all
Reply to author
Forward
0 new messages