This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

Input type="number": why "wrong" locale

  • 1 antwoord
  • 1 het hierdie probleem
  • 11 views
  • Laaste antwoord deur cor-el

more options

Situation See fiddle: https://jsfiddle.net/ssczo/gh47Lfs7/2/ I do not understand why I have to set de language specific on the control, like on the 4. input in the sample. I suspect that also version 3 should work, if i set my browser to de-CH or if i set my OS to de-CH. Version 3 not accepts "point" which is the default decimal separator for de-CH

I'm confused about from where the browser takes the language?

See my browser settings are the attchement.

Situation See fiddle: https://jsfiddle.net/ssczo/gh47Lfs7/2/ I do not understand why I have to set de language specific on the control, like on the 4. input in the sample. I suspect that also version 3 should work, if i set my browser to de-CH or if i set my OS to de-CH. Version 3 not accepts "point" which is the default decimal separator for de-CH I'm confused about from where the browser takes the language? See my browser settings are the attchement.

Gewysig op deur stephu

All Replies (1)

more options

This looks like a nightmare to implement, especially when it comes to browser support. See e.g.: https://ctrl.blog/entry/html5-input-number-localization