-
Notifications
You must be signed in to change notification settings - Fork 175
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
Fix datagen to propagate extension keywords and aux keys to child locales #4533
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good but I want to defer to @robertbastian on final review
provider/datagen/src/driver.rs
Outdated
/// Resolves the set of explicit langids and the supported locales into two sets of locales: | ||
/// | ||
/// - `explicit` contains the explicit langids but with aux keys and extension keywords included | ||
/// - `implcit` contains any locale reachable by fallback from an `explicit` locale |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: I'd like more comments here to explain what this handles, with examples referencing the locales mentioned in comments below
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added more docs
Fixes #4488
If
ar-SA
is requested andar-u-nu-latn
exists,ar-SA-u-nu-latn
should be included, even if that locale isn't in CLDR data by itself.This shows up also in the experimental skeleton keys. CC @blaynem
It also impacts neo datetime because of aux keys.