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

Add support for other systemic aliases specified in CLDR root.xml #1076

Open
1 of 7 tasks
akx opened this issue Apr 24, 2024 · 0 comments
Open
1 of 7 tasks

Add support for other systemic aliases specified in CLDR root.xml #1076

akx opened this issue Apr 24, 2024 · 0 comments

Comments

@akx
Copy link
Member

akx commented Apr 24, 2024

Overview Description

#892 was caused by us not reading <alias>es at all.

#1075 encodes the "hey, you can use short if you can't find these time deltas" logic from root.xml into code, which fixes that issue. There are other interesting <alias>es in root.xml we should support:

  • dates.fields.field
  • numbers.decimalFormats.decimalFormatLength
  • numbers.scientificFormats
  • numbers.percentFormats
  • numbers.currencyFormats (especially that "if accounting isn't specified, use standard")
  • Units (lots of them have name fallback aliases)
  • List patterns (Support list format fallbacks #1099)

It looks like (thankfully) there are no <alias>es specified in specific locale files, and I don't think we need to support that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant