Calendar in Chinese : I18N Locale « Dojo toolkit « JavaScript Tutorial






<html>
  <head>
    <link rel="StyleSheet" type="text/css" href="js/dojo/dojo/resources/dojo.css">
    <link rel="StyleSheet" type="text/css" href="js/dojo/dijit/themes/tundra/tundra.css">

    <script type="text/javascript">
      var djConfig = {
        baseScriptUri : "js/dojo/",
        parseOnLoad : true,
        extraLocale: ['en-us', 'zh-cn']
      };
    </script>
    <script type="text/javascript" src="js/dojo/dojo/dojo.js"></script>
    <script language="JavaScript" type="text/javascript">
      dojo.require("dojo.parser");
      dojo.require("dijit._Calendar");
    </script>
  </head>
  <body class="tundra">
     <input id="calChinese" dojoType="dijit._Calendar" lang="zh-cn" />
  </body>
</html>








29.41.I18N Locale
29.41.1.Get button text from predefined locale
29.41.2.Calendar in Chinese
29.41.3.Load predefined locale