Skip to content

Instantly share code, notes, and snippets.

@MarosPixel
Last active December 19, 2015 11:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarosPixel/5949913 to your computer and use it in GitHub Desktop.
Save MarosPixel/5949913 to your computer and use it in GitHub Desktop.
Slovak localization for JQuery Datepicker
/* Slovak initialisation for the jQuery UI date picker plugin. */
jQuery(function($){
$.datepicker.regional['sk'] = {
closeText: 'Zavrieť',
prevText: '< Predchádzajúci',
nextText: 'Nasledujúci >',
currentText: 'Dnes',
monthNames: [
'Január',
'Február',
'Marec',
'Apríl',
'Máj',
'Jún',
'Júl',
'August',
'September',
'Október',
'November',
'December'
],
monthNamesShort: [
'Jan',
'Feb',
'Mar',
'Apr',
'Máj',
'Jún',
'Júl',
'Aug',
'Sep',
'Okt',
'Nov',
'Dec'
],
dayNames: [
'Nedeľa',
'Pondelok',
'Utorok',
'Streda',
'Štvrtok',
'Piatok',
'Sobota'
],
dayNamesShort: [
'Ned',
'Pon',
'Uto',
'Str',
'Štv',
'Pia',
'Sob'
],
dayNamesMin: [
'Ne',
'Po',
'Ut',
'St',
'Št',
'Pia',
'So'
],
dateFormat: 'd.m.yy',
firstDay: 0,
isRTL: false
};
$.datepicker.setDefaults($.datepicker.regional['sk']);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment