Skip to content
New issue

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

Improve LocalizedStringNumber with CLDR rules #54

Open
comahe-de opened this issue Dec 27, 2023 · 0 comments
Open

Improve LocalizedStringNumber with CLDR rules #54

comahe-de opened this issue Dec 27, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@comahe-de
Copy link
Owner

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": ":"
    },
@comahe-de comahe-de added the enhancement New feature or request label Dec 27, 2023
@comahe-de comahe-de added this to the 0.9.0 milestone Dec 27, 2023
@comahe-de comahe-de changed the title Improve LocalizedStringNumber withCLDR rules Improve LocalizedStringNumber with CLDR rules Dec 27, 2023
@comahe-de comahe-de modified the milestones: 0.9.0, 0.10.0 Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant