i18n4k
i18n4k copied to clipboard
Improve LocalizedStringNumber with CLDR rules
In LocalizedStringNumber
the data structure NumberFormattingInfo
is used to format numbers like "1,234.456". But currently only "en" and "de" is supported.
Use the information from https://github.com/unicode-org/cldr-json/tree/main/cldr-json/cldr-numbers-full to support more Locales
An example of the JSON data is:
"symbols-numberSystem-latn": {
"decimal": ",",
"group": " ",
"list": ";",
"percentSign": "%",
"plusSign": "+",
"minusSign": "-",
"approximatelySign": "≈",
"exponential": "E",
"superscriptingExponent": "·",
"perMille": "‰",
"infinity": "∞",
"nan": "NaN",
"currencyGroup": ".",
"timeSeparator": ":"
},