Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User wemerson.januario's Avatar
    Join Date
    Nov 2008
    Location
    Brazil, Goias, Goiânia
    Posts
    332
    Vote Rating
    1
    wemerson.januario is on a distinguished road

      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
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 84101145 - Goiânia-GO- Brazil
    Consulting and Training Ext JS
    Projects: (Nubes ERP)

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,678
    Vote Rating
    435
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      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
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    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 almost 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
    332
    Vote Rating
    1
    wemerson.januario is on a distinguished road

      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
    Skype:
    wemerson.januario
    Email: wemerson.januario@gmail.com
    Fone:
    62 84101145 - Goiânia-GO- Brazil
    Consulting and Training Ext JS
    Projects: (Nubes ERP)