2010-03-12 03:18:34 +00:00
<!DOCTYPE html>
2009-01-02 03:56:06 +00:00
< html lang = "en" >
< head >
2010-09-10 12:50:53 +00:00
< meta charset = "utf-8" >
2009-01-19 22:42:58 +00:00
< title > jQuery UI Datepicker - Localize calendar< / title >
2010-09-10 12:50:53 +00:00
< link rel = "stylesheet" href = "../../themes/base/jquery.ui.all.css" >
2012-03-22 13:57:33 +00:00
< script src = "../../jquery-1.7.2.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/jquery.ui.core.js" > < / script >
< script src = "../../ui/jquery.ui.widget.js" > < / script >
< script src = "../../ui/jquery.ui.datepicker.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-af.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-ar.js" > < / script >
2011-01-19 15:15:15 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-ar-DZ.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-az.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-bg.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-bs.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-ca.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-cs.js" > < / script >
2011-11-17 18:34:33 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-cy-GB.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-da.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-de.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-el.js" > < / script >
2011-01-17 14:26:30 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-en-AU.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-en-GB.js" > < / script >
2011-01-17 14:26:30 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-en-NZ.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-eo.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-es.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-et.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-eu.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-fa.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-fi.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-fo.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-fr.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-fr-CH.js" > < / script >
2010-09-20 14:59:01 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-gl.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-he.js" > < / script >
2012-02-15 15:39:20 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-hi.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-hr.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-hu.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-hy.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-id.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-is.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-it.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-ja.js" > < / script >
2012-05-29 14:20:02 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-ka.js" > < / script >
2011-11-01 22:16:04 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-kk.js" > < / script >
2012-02-13 01:56:13 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-km.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-ko.js" > < / script >
2011-11-17 17:52:32 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-lb.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-lt.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-lv.js" > < / script >
2011-11-17 18:45:36 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-mk.js" > < / script >
2011-01-17 14:44:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-ml.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-ms.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-nl.js" > < / script >
2011-11-17 19:43:02 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-nl-BE.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-no.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-pl.js" > < / script >
2010-09-24 12:58:18 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-pt.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-pt-BR.js" > < / script >
2011-01-17 14:44:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-rm.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-ro.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-ru.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-sk.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-sl.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-sq.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-sr.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-sr-SR.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-sv.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-ta.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-th.js" > < / script >
2011-02-25 09:40:36 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-tj.js" > < / script >
2010-09-10 12:50:53 +00:00
< script src = "../../ui/i18n/jquery.ui.datepicker-tr.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-uk.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-vi.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-zh-CN.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-zh-HK.js" > < / script >
< script src = "../../ui/i18n/jquery.ui.datepicker-zh-TW.js" > < / script >
< link rel = "stylesheet" href = "../demos.css" >
< script >
2009-01-02 03:56:06 +00:00
$(function() {
2010-09-10 12:50:53 +00:00
$.datepicker.setDefaults( $.datepicker.regional[ "" ] );
$( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] );
$( "#locale" ).change(function() {
$( "#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" >
2009-10-22 09:49:19 +00:00
< option value = "af" > Afrikaans< / option >
2009-01-02 03:56:06 +00:00
< option value = "sq" > Albanian (Gjuha shqipe)< / option >
2011-01-19 15:15:15 +00:00
< option value = "ar-DZ" > Algerian Arabic< / 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-12-08 00:02:19 +00:00
< option value = "bs" > Bosnian (Bosanski)< / 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 >
2010-02-22 08:43:38 +00:00
< option value = "zh-HK" > Chinese Hong Kong (繁 體 中 文 )< / 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 >
2010-07-27 21:59:37 +00:00
< option value = "cs" > Czech (č eš tina)< / option >
2009-01-02 03:56:06 +00:00
< option value = "da" > Danish (Dansk)< / option >
2011-11-17 19:43:02 +00:00
< option value = "nl-BE" > Dutch (Belgium)< / option >
2009-01-02 03:56:06 +00:00
< option value = "nl" > Dutch (Nederlands)< / option >
2011-01-17 14:44:53 +00:00
< option value = "en-AU" > English/Australia< / option >
< option value = "en-NZ" > English/New Zealand< / option >
2009-10-22 09:49:19 +00:00
< option value = "en-GB" > English/UK< / option >
2009-01-02 03:56:06 +00:00
< option value = "eo" > Esperanto< / option >
2009-04-14 12:58:53 +00:00
< option value = "et" > Estonian (eesti keel)< / option >
2010-02-26 08:09:58 +00:00
< option value = "fo" > Faroese (fø royskt)< / 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 >
2010-09-20 14:59:01 +00:00
< option value = "gl" > Galician< / option >
2012-03-22 15:10:36 +00:00
< option value = "ge" > Georgian< / 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 >
2012-02-15 15:39:20 +00:00
< option value = "hi" > Hindi (ह ि ं द ी )< / 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 >
2011-11-01 22:16:04 +00:00
< option value = "kk" > Kazakhstan (Kazakh)< / option >
2012-02-13 01:56:13 +00:00
< option value = "km" > Khmer< / option >
2009-01-02 03:56:06 +00:00
< 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 >
2011-11-17 17:52:32 +00:00
< option value = "lb" > Luxembourgish< / option >
2011-11-17 18:45:36 +00:00
< option value = "mk" > Macedonian< / option >
2011-01-17 14:44:53 +00:00
< option value = "ml" > Malayalam< / 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 >
2010-09-24 12:58:18 +00:00
< option value = "pt" > Portuguese (Portuguê s)< / option >
2009-01-02 15:36:40 +00:00
< option value = "pt-BR" > Portuguese/Brazilian (Portuguê s)< / option >
2011-01-17 14:44:53 +00:00
< option value = "rm" > Rhaeto-Romanic (Romansh)< / option >
2009-01-02 15:36:40 +00:00
< 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 >
2010-03-02 08:27:46 +00:00
< option value = "ta" > Tamil (த ம ி ழ ் )< / option >
2009-01-02 03:56:06 +00:00
< option value = "th" > Thai (ภ า ษ า ไ ท ย )< / option >
2011-02-25 09:40:36 +00:00
< option value = "tj" > Tajikistan< / 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 >
2011-11-17 18:34:33 +00:00
< option value = "cy-GB" > Welsh/UK (Cymraeg)< / option >
2009-01-02 03:56:06 +00:00
< / select > < / p >
< / div > <!-- End demo -->
2010-09-10 12:50:53 +00:00
< div class = "demo-description" >
< 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 >