2009-01-02 03:56:06 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<title>jQuery UI Datepicker - Localisation</title>
|
|
|
|
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
|
2009-01-03 04:56:50 +00:00
|
|
|
<script type="text/javascript" src="../../jquery-1.3pre.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>
|
|
|
|
<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>
|
|
|
|
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-eo.js"></script>
|
|
|
|
<script type="text/javascript" src="../../ui/i18n/ui.datepicker-es.js"></script>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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() {
|
|
|
|
$.datepicker.setDefaults($.extend({showMonthAfterYear: false}, $.datepicker.regional['']));
|
|
|
|
$("#datepicker").datepicker($.datepicker.regional['fr']);
|
|
|
|
$("#locale").change(function() {
|
|
|
|
$('#datepicker').datepicker('option', $.extend({showMonthAfterYear: false},
|
|
|
|
$.datepicker.regional[$(this).val()]));
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<div class="demo">
|
|
|
|
|
|
|
|
<p>Date: <input type="text" id="datepicker"/>
|
|
|
|
<select id="locale">
|
|
|
|
<option value="sq">Albanian (Gjuha shqipe)</option>
|
|
|
|
<option value="ar">Arabic (‫لعربي)</option>
|
|
|
|
<option value="hy">Armenian (Հայերեն)</option>
|
|
|
|
<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>
|
|
|
|
<option value="fa">Farsi/Persian (‫فارسی)</option>
|
|
|
|
<option value="fi">Finnish (suomi)</option>
|
2009-01-02 15:36:40 +00:00
|
|
|
<option value="fr" selected="selected">French (Français)</option>
|
2009-01-02 03:56:06 +00:00
|
|
|
<option value="de">German (Deutsch)</option>
|
|
|
|
<option value="he">Hebrew (‫עברית)</option>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
</select></p>
|
|
|
|
|
|
|
|
</div><!-- End demo -->
|
|
|
|
|
|
|
|
<div class="demo-description">
|
|
|
|
|
2009-01-02 04:33:11 +00:00
|
|
|
<p>The datepicker may be localized for other languages and date preferences.
|
2009-01-02 03:56:06 +00:00
|
|
|
There is built-in support for languages that read right-to-left, such as Arabic and Hebrew.</p>
|
|
|
|
|
|
|
|
</div><!-- End demo-description -->
|
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|