-
Notifications
You must be signed in to change notification settings - Fork 178
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
Suggestion: Use PluralRules
instead of Count
#5369
Comments
The standard enum already exists: icu_plurals::PluralCategory I like the idea of component-specific enums extending the standard one. Alternatively, I would be okay with |
In this case, we can use icu_plurals::PluralCategory. But we need to address two things:
|
Example of an extended and a problem that need to be solved: |
Proposal:
LGTM: @sffc @Manishearth @younies @echeran |
Summary
Currently, the enum
Count
is being used in multiple places aroundicu4x
, such asunits
,currency
,decimal
... etc.PluralRules
place an enum called lPluralRuleCount
, which would contain all the CLDR counts:PluralRuleCount
.PluralRuleCount
.The text was updated successfully, but these errors were encountered: