-
Notifications
You must be signed in to change notification settings - Fork 217
Closed
Labels
C-data-infraComponent: provider, datagen, fallback, adaptersComponent: provider, datagen, fallback, adaptersS-mediumSize: Less than a week (larger bug fix or enhancement)Size: Less than a week (larger bug fix or enhancement)T-coreType: Required functionalityType: Required functionality
Milestone
Description
ICU4C's data build tool has a fairly smart algorithm when figuring out which locales to include based on an allowlist: all children and parents. For example, including "en-001" results in all parents ("en", "root") and children ("en-GB", "en-ZA", ...) being included.
We should implement this as well in ICU4X. It should be done in the LanguageIdentifierFilter trait in icu_provider.
This depends on the resolution to #173, since the locale fallback chain will need to be computed by this filter.
Metadata
Metadata
Assignees
Labels
C-data-infraComponent: provider, datagen, fallback, adaptersComponent: provider, datagen, fallback, adaptersS-mediumSize: Less than a week (larger bug fix or enhancement)Size: Less than a week (larger bug fix or enhancement)T-coreType: Required functionalityType: Required functionality