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






Calendar in Chinese

 
<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>


          

   
  








Dojo-toolkit.zip( 3,849 k)

Related examples in the same category

1.Get button text from predefined locale
2.Load predefined locale