You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLDR collations are configured per-locale (typically per-language in reality) in a set of configuration files. These files need to be available to icu-collator through its data provider interface.
Including the data files in ex_cldr_collation seems reasonable. They are not large files since they represent only tailorings of the standard DUCET collation.
Questions
Does icu-collator depend on other CLDR data than these collation files?
Do any of the existing data provider mechanisms in icu-collator support loading these files. And if so, how is that configured?
I'll see what I can learn from reading more of the rust docs but I'm in deep water when it comes to that so any suggestions you have would be warmly welcomed!
The text was updated successfully, but these errors were encountered:
Which would mean from a packaging point of view, processing all the collator locales and including them in the ex_cldr_collation lib would seem to make this workable. I can build a mix task to generate the data for each CLDR release so its somewhat automated.
I don't know if you saw the comment I left on #10; perhaps it wasn't a good idea to leave it as a comment on a closed PR. Either way: the core thing to look at I think is this guide, which describes how to use icu_datagen to generate the data for use with Rust's icu family of crates.
CLDR collations are configured per-locale (typically per-language in reality) in a set of configuration files. These files need to be available to
icu-collator
through its data provider interface.Including the data files in
ex_cldr_collation
seems reasonable. They are not large files since they represent only tailorings of the standard DUCET collation.Questions
icu-collator
depend on other CLDR data than these collation files?icu-collator
support loading these files. And if so, how is that configured?I'll see what I can learn from reading more of the rust docs but I'm in deep water when it comes to that so any suggestions you have would be warmly welcomed!
The text was updated successfully, but these errors were encountered: