mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
137 lines
8.6 KiB
HTML
137 lines
8.6 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>jQuery UI Datepicker - Localize calendar</title>
|
|
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
|
|
<script type="text/javascript" src="../../jquery-1.4.js"></script>
|
|
<script type="text/javascript" src="../../ui/jquery.ui.core.js"></script>
|
|
<script type="text/javascript" src="../../ui/jquery.ui.widget.js"></script>
|
|
<script type="text/javascript" src="../../ui/jquery.ui.datepicker.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-af.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ar.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-az.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-bg.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-bs.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ca.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-cs.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-da.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-de.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-el.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-en-GB.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-eo.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-es.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-et.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-eu.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fa.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fi.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fr.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-fr-CH.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-he.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-hr.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-hu.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-hy.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-id.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-is.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-it.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ja.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ko.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-lt.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-lv.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ms.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-nl.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-no.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-pl.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-pt-BR.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ro.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-ru.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-sk.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-sl.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-sq.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-sr.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-sr-SR.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-sv.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-th.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-tr.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-uk.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-vi.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-zh-CN.js"></script>
|
|
<script type="text/javascript" src="../../ui/i18n/jquery.ui.datepicker-zh-TW.js"></script>
|
|
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$.datepicker.setDefaults($.datepicker.regional['']);
|
|
$("#datepicker").datepicker($.datepicker.regional['fr']);
|
|
$("#locale").change(function() {
|
|
$('#datepicker').datepicker('option', $.datepicker.regional[$(this).val()]);
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="demo">
|
|
|
|
<p>Date: <input type="text" id="datepicker"/>
|
|
<select id="locale">
|
|
<option value="af">Afrikaans</option>
|
|
<option value="sq">Albanian (Gjuha shqipe)</option>
|
|
<option value="ar">Arabic (‫(لعربي</option>
|
|
<option value="hy">Armenian (Հայերեն)</option>
|
|
<option value="az">Azerbaijani (Azərbaycan dili)</option>
|
|
<option value="eu">Basque (Euskara)</option>
|
|
<option value="bs">Bosnian (Bosanski)</option>
|
|
<option value="bg">Bulgarian (български език)</option>
|
|
<option value="ca">Catalan (Català)</option>
|
|
<option value="zh-CN">Chinese Simplified (简体中文)</option>
|
|
<option value="zh-TW">Chinese Traditional (繁體中文)</option>
|
|
<option value="hr">Croatian (Hrvatski jezik)</option>
|
|
<option value="cs">Czech (Ceötina)</option>
|
|
<option value="da">Danish (Dansk)</option>
|
|
<option value="nl">Dutch (Nederlands)</option>
|
|
<option value="en-GB">English/UK</option>
|
|
<option value="eo">Esperanto</option>
|
|
<option value="et">Estonian (eesti keel)</option>
|
|
<option value="fa">Farsi/Persian (‫(فارسی</option>
|
|
<option value="fi">Finnish (suomi)</option>
|
|
<option value="fr" selected="selected">French (Français)</option>
|
|
<option value="fr-CH">French/Swiss (Français de Suisse)</option>
|
|
<option value="de">German (Deutsch)</option>
|
|
<option value="el">Greek (Ελληνικά)</option>
|
|
<option value="he">Hebrew (‫(עברית</option>
|
|
<option value="hu">Hungarian (Magyar)</option>
|
|
<option value="is">Icelandic (Õslenska)</option>
|
|
<option value="id">Indonesian (Bahasa Indonesia)</option>
|
|
<option value="it">Italian (Italiano)</option>
|
|
<option value="ja">Japanese (日本語)</option>
|
|
<option value="ko">Korean (한국어)</option>
|
|
<option value="lv">Latvian (Latvieöu Valoda)</option>
|
|
<option value="lt">Lithuanian (lietuviu kalba)</option>
|
|
<option value="ms">Malaysian (Bahasa Malaysia)</option>
|
|
<option value="no">Norwegian (Norsk)</option>
|
|
<option value="pl">Polish (Polski)</option>
|
|
<option value="pt-BR">Portuguese/Brazilian (Português)</option>
|
|
<option value="ro">Romanian (Română)</option>
|
|
<option value="ru">Russian (Русский)</option>
|
|
<option value="sr">Serbian (српски језик)</option>
|
|
<option value="sr-SR">Serbian (srpski jezik)</option>
|
|
<option value="sk">Slovak (Slovencina)</option>
|
|
<option value="sl">Slovenian (Slovenski Jezik)</option>
|
|
<option value="es">Spanish (Español)</option>
|
|
<option value="sv">Swedish (Svenska)</option>
|
|
<option value="th">Thai (ภาษาไทย)</option>
|
|
<option value="tr">Turkish (Türkçe)</option>
|
|
<option value="uk">Ukranian (Українська)</option>
|
|
<option value="vi">Vietnamese (Tiếng Việt)</option>
|
|
</select></p>
|
|
|
|
</div><!-- End demo -->
|
|
|
|
<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>
|
|
|
|
</div><!-- End demo-description -->
|
|
|
|
</body>
|
|
</html>
|