We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The number format right now is US only (thousands separated by comma), but this is not how numbers are formatted in other countries or cultures.
The code should allow for localization of the number, via https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString , with a sensible fallback for older browsers. Locale should ideally fetched from navigator.languages or from a lang attribute in a the map's container or page body, or allow the developer to override that. See https://www.w3.org/TR/html4/struct/dirlang.html#h-8.1 , https://www.w3.org/TR/ltli/
navigator.languages
lang
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The number format right now is US only (thousands separated by comma), but this is not how numbers are formatted in other countries or cultures.
The code should allow for localization of the number, via https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number/toLocaleString , with a sensible fallback for older browsers. Locale should ideally fetched from
navigator.languages
or from alang
attribute in a the map's container or page body, or allow the developer to override that. See https://www.w3.org/TR/html4/struct/dirlang.html#h-8.1 , https://www.w3.org/TR/ltli/The text was updated successfully, but these errors were encountered: