update locales and change Array.range to Ext.Array.range