does icu4x support selectordinal? #2806
-
no related code snippets or issue found after searching. |
Beta Was this translation helpful? Give feedback.
Answered by
zbraniecki
Nov 3, 2022
Replies: 1 comment 2 replies
-
Hi @byte1234 ! Thank you for interest in ICU4X. Yes, we support it via In the snippet example it uses Compared to ICU4C/J and ECMA-402 we renamed the method I apologize for the inconvenience and hope this helps. Please let me know if it resolved your issue |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @byte1234 ! Thank you for interest in ICU4X.
Yes, we support it via
icu::plurals::PluralRules
.In the snippet example it uses
PluralRuleType::Cardinal
which you can swap forOrdinal
to get that instead.Compared to ICU4C/J and ECMA-402 we renamed the method
select
tocategory_for
to leave space for deeper future integration into upcoming MessageFormat 2 plural selection model.I apologize for the inconvenience and hope this helps. Please let me know if it resolved your issue