extjs-gpl
Version:
GPL licensed version of Sencha Ext JS
42 lines (33 loc) • 1.76 kB
HTML
<html lang="nl">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=10, user-scalable=yes">
<title>Dutch Form</title>
<!-- Ext -->
<script type="text/javascript" src="../shared/include-ext.js"></script>
<script type="text/javascript" src="../shared/options-toolbar.js"></script>
<!-- Example -->
<link rel="stylesheet" type="text/css" href="../shared/examples.css" />
<!-- GC -->
<script type="text/javascript" src="../shared/examples.js"></script>
<script type="text/javascript" src="../../packages/locale/build/locale-nl.js"></script>
<script type="text/javascript" src="dutch-provinces.js"></script>
<script type="text/javascript" src="ContactForm.js"></script>
<script type="text/javascript" src="ContactForm-nl.js"></script>
</head>
<body>
<h1>Localization with Ext</h1>
<p>
This demonstrates a dutch location of Ext using the form component. It includes the localization
file "ext-lang-nl.js" from the source/locale folder of the Ext download. By placing all language
text such as field labels and button labels and date formats in the prototype, we can easily
localize our components by overriding these values. View
<a href="ContactForm.js" target="_blank">ContactForm.js</a>and
<a href="ContactForm-nl.js" target="_blank">ContactForm-nl.js</a> to learn how Ext applies
internationalization to JavaScript.
</p>
<p>The js is not minified so it is readable. See <a href="ContactForm.js">ContactForm.js</a> and <a href="ContactForm-nl.js">ContactForm-nl.js</a>.</p>
</body>
</html>