A few locale and value combinations wrongly report PluralCategory::Other
#3421
-
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 6 replies
-
Thank you for the report. Investigating. |
Beta Was this translation helpful? Give feedback.
-
Update: I ported some more of the tested plurals of this test written in C# to my crate using icu and many of them fail, reporting I'm still unsure, did I misconfigure something here? My dependencies look like this: [dependencies]
icu_plurals = { version = "1.2.0", features = ["std"] }
icu_locid = { version = "1.2.0", features = ["std"] }
icu_testdata = { version = "1.2.0", default-features = false, features = ["std", "icu_plurals"] }
icu_provider = { version = "1.2.0", features = ["std"] }
fixed_decimal = { version = "0.5.3", features = ["std", "ryu"] }
|
Beta Was this translation helpful? Give feedback.
-
Update 2: I added some debug prints and got the following failures:
Interestingly, all failures report |
Beta Was this translation helpful? Give feedback.
-
@janhohenheim I believe you are using Please, read this tutorial and let me know if it helps you understand how to build the data provider for your needs - https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md |
Beta Was this translation helpful? Give feedback.
-
(converting to discussion for now) |
Beta Was this translation helpful? Give feedback.
-
marking as resolved! |
Beta Was this translation helpful? Give feedback.
@janhohenheim I believe you are using
testdata
provider which does not contain Polish, and falls back on one of the available locales in the testdata provider.Please, read this tutorial and let me know if it helps you understand how to build the data provider for your needs - https://github.com/unicode-org/icu4x/blob/main/docs/tutorials/data_management.md