]> dev.renevier.net Git - syp.git/blob - jquery/development-bundle/demos/datepicker/localization.html
fixes notices
[syp.git] / jquery / development-bundle / demos / datepicker / localization.html
1 <!doctype html>
2 <html lang="en">
3 <head>
4         <title>jQuery UI Datepicker - Localize calendar</title>
5         <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
6         <script type="text/javascript" src="../../jquery-1.3.2.js"></script>
7         <script type="text/javascript" src="../../ui/ui.core.js"></script>
8         <script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
9         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ar.js"></script>
10         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-bg.js"></script>
11         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ca.js"></script>
12         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-cs.js"></script>
13         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-da.js"></script>
14         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-de.js"></script>
15         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-el.js"></script>
16         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-eo.js"></script>
17         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-es.js"></script>
18         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-fa.js"></script>
19         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-fi.js"></script>
20         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-fr.js"></script>
21         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-he.js"></script>
22         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-hr.js"></script>
23         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-hu.js"></script>
24         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-hy.js"></script>
25         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-id.js"></script>
26         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-is.js"></script>
27         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-it.js"></script>
28         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ja.js"></script>
29         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ko.js"></script>
30         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-lt.js"></script>
31         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-lv.js"></script>
32         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ms.js"></script>
33         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-nl.js"></script>
34         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-no.js"></script>
35         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-pl.js"></script>
36         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-pt-BR.js"></script>
37         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ro.js"></script>
38         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-ru.js"></script>
39         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sk.js"></script>
40         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sl.js"></script>
41         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sq.js"></script>
42         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sr.js"></script>
43         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sr-SR.js"></script>
44         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-sv.js"></script>
45         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-th.js"></script>
46         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-tr.js"></script>
47         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-uk.js"></script>
48         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-zh-CN.js"></script>
49         <script type="text/javascript" src="../../ui/i18n/ui.datepicker-zh-TW.js"></script>
50         <link type="text/css" href="../demos.css" rel="stylesheet" />
51         <script type="text/javascript">
52         $(function() {
53                 $.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
54                 $("#datepicker").datepicker($.datepicker.regional['fr']);
55                 $("#locale").change(function() {
56                         $('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
57                                 $.datepicker.regional[$(this).val()]));
58                 });
59         });
60         </script>
61 </head>
62 <body>
63
64 <div class="demo">
65         
66 <p>Date: <input type="text" id="datepicker"/>&nbsp;
67         <select id="locale">
68                 <option value="sq">Albanian (Gjuha shqipe)</option>
69                 <option value="ar">Arabic (&#8235;(&#1604;&#1593;&#1585;&#1576;&#1610;</option>
70                 <option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
71                 <option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option>
72                 <option value="ca">Catalan (Catal&agrave;)</option>
73                 <option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option>
74                 <option value="zh-TW">Chinese Traditional (&#32321;&#39636;&#20013;&#25991;)</option>
75                 <option value="hr">Croatian (Hrvatski jezik)</option>
76                 <option value="cs">Czech (Ce&ouml;tina)</option>
77                 <option value="da">Danish (Dansk)</option>
78                 <option value="nl">Dutch (Nederlands)</option>
79                 <option value="eo">Esperanto</option>
80                 <option value="fa">Farsi/Persian (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option>
81                 <option value="fi">Finnish (suomi)</option>
82                 <option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
83                 <option value="de">German (Deutsch)</option>
84                 <option value="el">Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option>
85                 <option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option>
86                 <option value="hu">Hungarian (Magyar)</option>
87                 <option value="is">Icelandic (&Otilde;slenska)</option>
88                 <option value="id">Indonesian (Bahasa Indonesia)</option>
89                 <option value="it">Italian (Italiano)</option>
90                 <option value="ja">Japanese (&#26085;&#26412;&#35486;)</option>
91                 <option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
92                 <option value="lv">Latvian (Latvie&ouml;u Valoda)</option>
93                 <option value="lt">Lithuanian (lietuviu kalba)</option>
94                 <option value="ms">Malaysian (Bahasa Malaysia)</option>
95                 <option value="no">Norwegian (Norsk)</option>
96                 <option value="pl">Polish (Polski)</option>
97                 <option value="pt-BR">Portuguese/Brazilian (Portugu&ecirc;s)</option>
98                 <option value="ro">Romanian (Rom&acirc;n&#259;)</option>
99                 <option value="ru">Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option>
100                 <option value="sr">Serbian (&#1089;&#1088;&#1087;&#1089;&#1082;&#1080; &#1112;&#1077;&#1079;&#1080;&#1082;)</option>
101                 <option value="sr-SR">Serbian (srpski jezik)</option>
102                 <option value="sk">Slovak (Slovencina)</option>
103                 <option value="sl">Slovenian (Slovenski Jezik)</option>
104                 <option value="es">Spanish (Espa&ntilde;ol)</option>
105                 <option value="sv">Swedish (Svenska)</option>
106                 <option value="th">Thai (&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;)</option>
107                 <option value="tr">Turkish (T&uuml;rk&ccedil;e)</option>
108                 <option value="uk">Ukranian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option>
109         </select></p>
110
111 </div><!-- End demo -->
112
113 <div class="demo-description">
114
115 <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>
116
117 </div><!-- End demo-description -->
118
119 </body>
120 </html>