-
Notifications
You must be signed in to change notification settings - Fork 172
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
Currency Formatter #1441
Comments
Re-assigning the macro issue for currency formatting to @eggrobin for the 1.1 milestone. This is Q3/Q4 material. |
We still need to establish the data model for currency formatter. There are two aspects of a data model:
There are many ways to do this, all with pros and cons. |
Discussion:
Conclusion: make the set of currencies data-driven. |
A few ways to encode it at lookup time:
Reasons to favor option 3: This shouldn't be controllable by the user locale, so option 1 is out. Option 2 is a bit tricky/confusing if the user locale has a To set option 3, we add a setter to DataLocale that sets the separate metadata field. Suggested naming:
Tentative decision: Additional thought from @robertbastian: |
This issue is to track all work needed for currency formatting in ICU4X.
Some high-level design notes:
Links:
The text was updated successfully, but these errors were encountered: