Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-11537 in 4.2.3.
  1. #1
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    441
    Vote Rating
    7
    wemerson.januario will become famous soon enough

      0  

    Default Portuguese Brazilian locale Ext.util.Format

    Portuguese Brazilian locale Ext.util.Format


    Portuguese Brazilian locale Ext.util.Format is not correct


    Ext version tested:
    • Ext 4.1.0 Beta 3
    Browser versions tested against:
    • Any browser
    Description:
    • ext-lang-PT_BR - Ext.util.Format > decimalSeparator is as '.' and thousandSeparator is as ',', please invert them, the braziliam currency format is 0.000,00
    • Correct code is:
      Code:
          • if(exists('Ext.util.Format')){
      Ext.apply(Ext.util.Format, { thousandSeparator: '.', decimalSeparator: ',', currencySign: 'R$', // Brazilian Real dateFormat: 'd/m/Y' }); Ext.util.Format.brMoney = Ext.util.Format.currency;
          • }
    Steps to reproduce the problem:
    • Create an Ext.grid.column.Number and format it as R$ 0.000,00/i the formated values is crazy
    The result that was expected:
    • The formated value should be as especified like eg. R$0.000,00
    The result that occurs instead:
    • not expected format
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,047
    Vote Rating
    850
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    We are in the process of revamping our locale files currently so this may be fixed in a future release with this.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    441
    Vote Rating
    7
    wemerson.januario will become famous soon enough

      0  

    Default


    good! Thanks!
    Quote Originally Posted by mitchellsimoens View Post
    We are in the process of revamping our locale files currently so this may be fixed in a future release with this.
    Wemerson Januario
    Twitter:
    @wemersonjanuar
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 9106-6689
    From: Goiânia, Brazil
    Desenvolvedor ExtJS/ ExtJS Developer

Thread Participants: 1