PDA

View Full Version : Decimal seperator does not work in localizer



darkhorni
8 Mar 2013, 4:21 AM
Because ext-lang-tr.js is corrupt and old I have replaced it with ext-lang-en.js Then I have translated some of them into Turkish. Some work, others do not work. Here I have declared that the decimal separator is comma but it does not work.


if (exists('Ext.util.Format')) {
Ext.apply(Ext.util.Format, {
thousandSeparator: '.',
decimalSeparator: ',',
currencySign: 'TL',
dateFormat: 'm/d/Y'
});
}
Here, I cannot type comma.
42262
What should I do?

mitchellsimoens
10 Mar 2013, 8:49 PM
The number field has it's own decimalSeparator config that you need to override.