View Full Version : Simple Question

27 Mar 2012, 7:14 AM
I am new to EXT JS and I am doing a tutorial.
In this example I added the module for pl language but it does not take. The paths are correct as I can mess witht the other /extjs/ and see a change so I am kinda of sure that /extjs/locale is correct. When I launch the script I still see English.
<title>Getting Started Example</title>
<link rel="stylesheet" type="text/css"
href="/extjs/resources/css/ext-all.css" />
<script src="/extjs/bootstrap.js"></script>
<script src="/extjs/ext-all-debug.js"></script>
<script src="/extjs/locale/ext-lang-pl.js"></script>
Ext.Msg.alert('Hello', 'World');
<!-- Nothing in the body -->

27 Mar 2012, 10:06 AM
Looking at your example code and the local file, what are you expecting to not be in English? OK is still OK in the locale file.

Please consider using a more specific post title, even "Simple Locale Question" would be an improvement.

Ext.MessageBox.buttonText = {
ok: 'OK',
cancel: 'Annuleren',
yes: 'Ja',
no: 'Nee'