Results 1 to 3 of 3

Thread: Portuguese Brazilian locale Ext.util.Format

    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 Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goinia - GO, Brazil
    Posts
    645
    Vote Rating
    50
      0  

    Default 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
    Site/Blog: http://wemersonjanuario.com.brFrom: Goinia, GO, Brazil
    Consulting Training and Web Development

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Vote Rating
    1272
      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 @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Goinia - GO, Brazil
    Posts
    645
    Vote Rating
    50
      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
    Site/Blog: http://wemersonjanuario.com.brFrom: Goinia, GO, Brazil
    Consulting Training and Web Development

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •