Subversion Repositories Sites.obs-saisons.fr

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
40 aurelien 1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
	<meta charset="utf-8">
5
	<title>jQuery UI Datepicker - Localize calendar</title>
6
	<link rel="stylesheet" href="../../themes/base/jquery.ui.all.css">
7
	<script src="../../jquery-1.4.2.js"></script>
8
	<script src="../../ui/jquery.ui.core.js"></script>
9
	<script src="../../ui/jquery.ui.widget.js"></script>
10
	<script src="../../ui/jquery.ui.datepicker.js"></script>
11
	<script src="../../ui/i18n/jquery.ui.datepicker-af.js"></script>
12
	<script src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script>
13
	<script src="../../ui/i18n/jquery.ui.datepicker-az.js"></script>
14
	<script src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script>
15
	<script src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script>
16
	<script src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script>
17
	<script src="../../ui/i18n/jquery.ui.datepicker-cs.js"></script>
18
	<script src="../../ui/i18n/jquery.ui.datepicker-da.js"></script>
19
	<script src="../../ui/i18n/jquery.ui.datepicker-de.js"></script>
20
	<script src="../../ui/i18n/jquery.ui.datepicker-el.js"></script>
21
	<script src="../../ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
22
	<script src="../../ui/i18n/jquery.ui.datepicker-eo.js"></script>
23
	<script src="../../ui/i18n/jquery.ui.datepicker-es.js"></script>
24
	<script src="../../ui/i18n/jquery.ui.datepicker-et.js"></script>
25
	<script src="../../ui/i18n/jquery.ui.datepicker-eu.js"></script>
26
	<script src="../../ui/i18n/jquery.ui.datepicker-fa.js"></script>
27
	<script src="../../ui/i18n/jquery.ui.datepicker-fi.js"></script>
28
	<script src="../../ui/i18n/jquery.ui.datepicker-fo.js"></script>
29
	<script src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
30
	<script src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
31
	<script src="../../ui/i18n/jquery.ui.datepicker-he.js"></script>
32
	<script src="../../ui/i18n/jquery.ui.datepicker-hr.js"></script>
33
	<script src="../../ui/i18n/jquery.ui.datepicker-hu.js"></script>
34
	<script src="../../ui/i18n/jquery.ui.datepicker-hy.js"></script>
35
	<script src="../../ui/i18n/jquery.ui.datepicker-id.js"></script>
36
	<script src="../../ui/i18n/jquery.ui.datepicker-is.js"></script>
37
	<script src="../../ui/i18n/jquery.ui.datepicker-it.js"></script>
38
	<script src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script>
39
	<script src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script>
40
	<script src="../../ui/i18n/jquery.ui.datepicker-kz.js"></script>
41
	<script src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script>
42
	<script src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script>
43
	<script src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script>
44
	<script src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
45
	<script src="../../ui/i18n/jquery.ui.datepicker-no.js"></script>
46
	<script src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script>
47
	<script src="../../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script>
48
	<script src="../../ui/i18n/jquery.ui.datepicker-ro.js"></script>
49
	<script src="../../ui/i18n/jquery.ui.datepicker-ru.js"></script>
50
	<script src="../../ui/i18n/jquery.ui.datepicker-sk.js"></script>
51
	<script src="../../ui/i18n/jquery.ui.datepicker-sl.js"></script>
52
	<script src="../../ui/i18n/jquery.ui.datepicker-sq.js"></script>
53
	<script src="../../ui/i18n/jquery.ui.datepicker-sr.js"></script>
54
	<script src="../../ui/i18n/jquery.ui.datepicker-sr-SR.js"></script>
55
	<script src="../../ui/i18n/jquery.ui.datepicker-sv.js"></script>
56
	<script src="../../ui/i18n/jquery.ui.datepicker-ta.js"></script>
57
	<script src="../../ui/i18n/jquery.ui.datepicker-th.js"></script>
58
	<script src="../../ui/i18n/jquery.ui.datepicker-tr.js"></script>
59
	<script src="../../ui/i18n/jquery.ui.datepicker-uk.js"></script>
60
	<script src="../../ui/i18n/jquery.ui.datepicker-vi.js"></script>
61
	<script src="../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
62
	<script src="../../ui/i18n/jquery.ui.datepicker-zh-HK.js"></script>
63
	<script src="../../ui/i18n/jquery.ui.datepicker-zh-TW.js"></script>
64
	<link rel="stylesheet" href="../demos.css">
65
	<script>
66
	$(function() {
67
		$.datepicker.setDefaults( $.datepicker.regional[ "" ] );
68
		$( "#datepicker" ).datepicker( $.datepicker.regional[ "fr" ] );
69
		$( "#locale" ).change(function() {
70
			$( "#datepicker" ).datepicker( "option",
71
				$.datepicker.regional[ $( this ).val() ] );
72
		});
73
	});
74
	</script>
75
</head>
76
<body>
77
 
78
<div class="demo">
79
 
80
<p>Date: <input type="text" id="datepicker"/>&nbsp;
81
	<select id="locale">
82
		<option value="af">Afrikaans</option>
83
		<option value="sq">Albanian (Gjuha shqipe)</option>
84
		<option value="ar">Arabic (&#8235;(&#1604;&#1593;&#1585;&#1576;&#1610;</option>
85
		<option value="hy">Armenian (&#1344;&#1377;&#1397;&#1381;&#1408;&#1381;&#1398;)</option>
86
		<option value="az">Azerbaijani (Az&#601;rbaycan dili)</option>
87
		<option value="eu">Basque (Euskara)</option>
88
		<option value="bs">Bosnian (Bosanski)</option>
89
		<option value="bg">Bulgarian (&#1073;&#1098;&#1083;&#1075;&#1072;&#1088;&#1089;&#1082;&#1080; &#1077;&#1079;&#1080;&#1082;)</option>
90
		<option value="ca">Catalan (Catal&agrave;)</option>
91
		<option value="zh-HK">Chinese Hong Kong (&#32321;&#39636;&#20013;&#25991;)</option>
92
		<option value="zh-CN">Chinese Simplified (&#31616;&#20307;&#20013;&#25991;)</option>
93
		<option value="zh-TW">Chinese Traditional (&#32321;&#39636;&#20013;&#25991;)</option>
94
		<option value="hr">Croatian (Hrvatski jezik)</option>
95
		<option value="cs">Czech (&#269;e&#353;tina)</option>
96
		<option value="da">Danish (Dansk)</option>
97
		<option value="nl">Dutch (Nederlands)</option>
98
		<option value="en-GB">English/UK</option>
99
		<option value="eo">Esperanto</option>
100
		<option value="et">Estonian (eesti keel)</option>
101
		<option value="fo">Faroese (f&oslash;royskt)</option>
102
		<option value="fa">Farsi/Persian (&#8235;(&#1601;&#1575;&#1585;&#1587;&#1740;</option>
103
		<option value="fi">Finnish (suomi)</option>
104
		<option value="fr" selected="selected">French (Fran&ccedil;ais)</option>
105
		<option value="fr-CH">French/Swiss (Fran&ccedil;ais de Suisse)</option>
106
		<option value="de">German (Deutsch)</option>
107
		<option value="el">Greek (&#917;&#955;&#955;&#951;&#957;&#953;&#954;&#940;)</option>
108
		<option value="he">Hebrew (&#8235;(&#1506;&#1489;&#1512;&#1497;&#1514;</option>
109
		<option value="hu">Hungarian (Magyar)</option>
110
		<option value="is">Icelandic (&Otilde;slenska)</option>
111
		<option value="id">Indonesian (Bahasa Indonesia)</option>
112
		<option value="it">Italian (Italiano)</option>
113
		<option value="ja">Japanese (&#26085;&#26412;&#35486;)</option>
114
		<option value="ko">Korean (&#54620;&#44397;&#50612;)</option>
115
		<option value="kz">Kazakhstan (Kazakh)</option>
116
		<option value="lv">Latvian (Latvie&ouml;u Valoda)</option>
117
		<option value="lt">Lithuanian (lietuviu kalba)</option>
118
		<option value="ms">Malaysian (Bahasa Malaysia)</option>
119
		<option value="no">Norwegian (Norsk)</option>
120
		<option value="pl">Polish (Polski)</option>
121
		<option value="pt-BR">Portuguese/Brazilian (Portugu&ecirc;s)</option>
122
		<option value="ro">Romanian (Rom&acirc;n&#259;)</option>
123
		<option value="ru">Russian (&#1056;&#1091;&#1089;&#1089;&#1082;&#1080;&#1081;)</option>
124
		<option value="sr">Serbian (&#1089;&#1088;&#1087;&#1089;&#1082;&#1080; &#1112;&#1077;&#1079;&#1080;&#1082;)</option>
125
		<option value="sr-SR">Serbian (srpski jezik)</option>
126
		<option value="sk">Slovak (Slovencina)</option>
127
		<option value="sl">Slovenian (Slovenski Jezik)</option>
128
		<option value="es">Spanish (Espa&ntilde;ol)</option>
129
		<option value="sv">Swedish (Svenska)</option>
130
		<option value="ta">Tamil (&#2980;&#2990;&#3007;&#2996;&#3021;)</option>
131
		<option value="th">Thai (&#3616;&#3634;&#3625;&#3634;&#3652;&#3607;&#3618;)</option>
132
		<option value="tr">Turkish (T&uuml;rk&ccedil;e)</option>
133
		<option value="uk">Ukranian (&#1059;&#1082;&#1088;&#1072;&#1111;&#1085;&#1089;&#1100;&#1082;&#1072;)</option>
134
		<option value="vi">Vietnamese (Ti&#7871;ng Vi&#7879;t)</option>
135
	</select></p>
136
 
137
</div><!-- End demo -->
138
 
139
 
140
 
141
<div class="demo-description">
142
<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>
143
</div><!-- End demo-description -->
144
 
145
</body>
146
</html>