Results 1 to 2 of 2

Thread: Danish locale NumberField decimal separator incorrect

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6928 in 4.1.2.
  1. #1
    Ext JS Premium Member
    Join Date
    Jun 2010
    Location
    San Diego
    Posts
    8
    Vote Rating
    2
      0  

    Default Danish locale NumberField decimal separator incorrect

    REQUIRED INFORMATIONExt version tested:
    • Ext 4.1.1
    Browser versions tested against:
    • Chrome / FF ESR
    Description:
    • ext-lang-da.js does not localize Ext.form.field.Number correctly. The number separator is not set (it is for Ext.util.Format)
    Steps to reproduce the problem:
    • Include the danish local in an example page with a number form field.
    The result that was expected:
    • , can be used as the decimal separator (as it can be with the German locale)
    The result that occurs instead:
    • . must be used
    Possible fix:

    Something similar to the German locale
    PHP Code:
    Ext.define("Ext.locale.de.form.field.Number", {
    override"Ext.form.field.Number",
    minText"Der Mindestwert fr dieses Feld ist {0}",
    maxText"Der Maximalwert fr dieses Feld ist {0}",
    nanText"{0} ist keine Zahl",
    decimalSeparator","
    }); 
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • All

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,318
    Vote Rating
    1291
      0  

    Default

    Thanks for the report.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it!

    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.

Tags for this Thread

Posting Permissions

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