PDA

View Full Version : Localizatrion (IT) not working on IE and Chrome



bariand
4 Apr 2011, 7:09 AM
Hi all,
I'm using the localization mechanism to have basic items (fields and so on) localized, especially when validating after form submission.
<code>
var head = Ext.fly(document.getElementsByTagName('head')[0]);
Ext.DomHelper.append(head, {
tag: 'script',
type: 'text/javascript',
src: Ext.uirnet.clientLeggero.getQueryStringPart('i18n') + '/uirnet/lib/extjs/src/locale/ext-lang-' + lang + '.js'
});
</code>
The strange thing is that I always obtain English validation messages and not Italian even if they are present in the corresponding files.
Moreover under FF this issue is not present, everything works fine.