2009-01-02 03:56:06 +00:00
<!doctype html>
< html lang = "en" >
< head >
2009-01-19 22:42:58 +00:00
< title > jQuery UI Datepicker - Localize calendar< / title >
2009-01-07 02:36:51 +00:00
< link type = "text/css" href = "../../themes/base/ui.all.css" rel = "stylesheet" / >
2009-02-20 11:40:25 +00:00
< script type = "text/javascript" src = "../../jquery-1.3.2.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/ui.core.js" > < / script >
< script type = "text/javascript" src = "../../ui/ui.datepicker.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ar.js" > < / script >
2009-04-26 02:38:44 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-az.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-bg.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ca.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-cs.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-da.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-de.js" > < / script >
2009-01-15 11:25:53 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-el.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-eo.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-es.js" > < / script >
2009-04-14 12:58:53 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-et.js" > < / script >
2009-06-16 08:42:15 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-eu.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-fa.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-fi.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-fr.js" > < / script >
2009-06-22 02:43:30 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-fr-CH.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-he.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-hr.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-hu.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-hy.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-id.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-is.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-it.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ja.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ko.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-lt.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-lv.js" > < / script >
2009-01-15 11:25:53 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ms.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-nl.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-no.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-pl.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-pt-BR.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ro.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-ru.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-sk.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-sl.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-sq.js" > < / script >
2009-02-19 10:30:43 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-sr.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-sr-SR.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-sv.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-th.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-tr.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-uk.js" > < / script >
2009-06-06 05:59:23 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-vi.js" > < / script >
2009-01-02 03:56:06 +00:00
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-zh-CN.js" > < / script >
< script type = "text/javascript" src = "../../ui/i18n/ui.datepicker-zh-TW.js" > < / script >
< link type = "text/css" href = "../demos.css" rel = "stylesheet" / >
< script type = "text/javascript" >
$(function() {
2009-04-10 07:55:52 +00:00
$.datepicker.setDefaults($.datepicker.regional['']);
2009-01-02 03:56:06 +00:00
$("#datepicker").datepicker($.datepicker.regional['fr']);
$("#locale").change(function() {
2009-04-10 07:55:52 +00:00
$('#datepicker').datepicker('option', $.datepicker.regional[$(this).val()]);
2009-01-02 03:56:06 +00:00
});
});
< / script >
< / head >
< body >
< div class = "demo" >
2009-01-04 11:13:40 +00:00
2009-01-02 03:56:06 +00:00
< p > Date: < input type = "text" id = "datepicker" / >
< select id = "locale" >
< option value = "sq" > Albanian (Gjuha shqipe)< / option >
2009-01-04 11:13:40 +00:00
< option value = "ar" > Arabic (‫ (ل ع ر ب ي < / option >
2009-01-02 03:56:06 +00:00
< option value = "hy" > Armenian (Հ ա յ ե ր ե ն )< / option >
2009-04-26 02:38:44 +00:00
< option value = "az" > Azerbaijani (Azə rbaycan dili)< / option >
2009-06-16 08:42:15 +00:00
< option value = "eu" > Basque (Euskara)< / option >
2009-01-02 03:56:06 +00:00
< option value = "bg" > Bulgarian (б ъ л г а р с к и е з и к )< / option >
2009-01-02 15:36:40 +00:00
< option value = "ca" > Catalan (Català )< / option >
2009-01-02 03:56:06 +00:00
< option value = "zh-CN" > Chinese Simplified (简 体 中 文 )< / option >
< option value = "zh-TW" > Chinese Traditional (繁 體 中 文 )< / option >
< option value = "hr" > Croatian (Hrvatski jezik)< / option >
2009-01-02 15:36:40 +00:00
< option value = "cs" > Czech (Ceö tina)< / option >
2009-01-02 03:56:06 +00:00
< option value = "da" > Danish (Dansk)< / option >
< option value = "nl" > Dutch (Nederlands)< / option >
< option value = "eo" > Esperanto< / option >
2009-04-14 12:58:53 +00:00
< option value = "et" > Estonian (eesti keel)< / option >
2009-01-04 11:13:40 +00:00
< option value = "fa" > Farsi/Persian (‫ (ف ا ر س ی < / option >
2009-01-02 03:56:06 +00:00
< option value = "fi" > Finnish (suomi)< / option >
2009-01-02 15:36:40 +00:00
< option value = "fr" selected = "selected" > French (Franç ais)< / option >
2009-06-22 02:43:30 +00:00
< option value = "fr-CH" > French/Swiss (Franç ais de Suisse)< / option >
2009-01-02 03:56:06 +00:00
< option value = "de" > German (Deutsch)< / option >
2009-01-15 11:25:53 +00:00
< option value = "el" > Greek (Ε λ λ η ν ι κ ά )< / option >
2009-01-04 11:13:40 +00:00
< option value = "he" > Hebrew (‫ (ע ב ר י ת < / option >
2009-01-02 03:56:06 +00:00
< option value = "hu" > Hungarian (Magyar)< / option >
2009-01-02 15:36:40 +00:00
< option value = "is" > Icelandic (Õ slenska)< / option >
2009-01-02 03:56:06 +00:00
< option value = "id" > Indonesian (Bahasa Indonesia)< / option >
< option value = "it" > Italian (Italiano)< / option >
< option value = "ja" > Japanese (日 本 語 )< / option >
< option value = "ko" > Korean (한 국 어 )< / option >
2009-01-02 15:36:40 +00:00
< option value = "lv" > Latvian (Latvieö u Valoda)< / option >
2009-01-02 03:56:06 +00:00
< option value = "lt" > Lithuanian (lietuviu kalba)< / option >
2009-01-15 11:25:53 +00:00
< option value = "ms" > Malaysian (Bahasa Malaysia)< / option >
2009-01-02 03:56:06 +00:00
< option value = "no" > Norwegian (Norsk)< / option >
< option value = "pl" > Polish (Polski)< / option >
2009-01-02 15:36:40 +00:00
< option value = "pt-BR" > Portuguese/Brazilian (Portuguê s)< / option >
< option value = "ro" > Romanian (Româ nă )< / option >
2009-01-02 03:56:06 +00:00
< option value = "ru" > Russian (Р у с с к и й )< / option >
2009-02-19 10:30:43 +00:00
< option value = "sr" > Serbian (с р п с к и ј е з и к )< / option >
< option value = "sr-SR" > Serbian (srpski jezik)< / option >
2009-01-02 03:56:06 +00:00
< option value = "sk" > Slovak (Slovencina)< / option >
< option value = "sl" > Slovenian (Slovenski Jezik)< / option >
2009-01-02 15:36:40 +00:00
< option value = "es" > Spanish (Españ ol)< / option >
2009-01-02 03:56:06 +00:00
< option value = "sv" > Swedish (Svenska)< / option >
< option value = "th" > Thai (ภ า ษ า ไ ท ย )< / option >
2009-01-02 15:36:40 +00:00
< option value = "tr" > Turkish (Tü rkç e)< / option >
2009-01-02 03:56:06 +00:00
< option value = "uk" > Ukranian (У к р а ї н с ь к а )< / option >
2009-06-06 05:59:23 +00:00
< option value = "vi" > Vietnamese (Tiế ng Việ t)< / option >
2009-01-02 03:56:06 +00:00
< / select > < / p >
< / div > <!-- End demo -->
< div class = "demo-description" >
2009-01-19 22:42:58 +00:00
< p > Localize the datepicker calendar language and format (English / Western formatting is the default). The datepicker includes built-in support for languages that read right-to-left, such as Arabic and Hebrew.< / p >
2009-01-02 03:56:06 +00:00
< / div > <!-- End demo - description -->
< / body >
< / html >