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
    reh is on a distinguished road

      0  

    Default Danish locale NumberField decimal separator incorrect

    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 für dieses Feld ist {0}",
    maxText"Der Maximalwert für dieses Feld ist {0}",
    nanText"{0} ist keine Zahl",
    decimalSeparator","
    }); 
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • All

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,087
    Vote Rating
    855
    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


    Thanks for the report.
    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.

Thread Participants: 1

Tags for this Thread