-
Notifications
You must be signed in to change notification settings - Fork 185
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
Add Any-Lower
and Any-Upper
transliterators
#6260
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.
Thanks, I didn't quite understand the data pipeline here, and this is cleaner than I expected.
What's the behavior of Any-Title after this?
|locale| { | ||
if locale.normalizing_eq("und-t-und-x0-lower") { | ||
Some(Ok(Box::new(LowercaseTransliterator( | ||
CaseMapperBorrowed::new(), | ||
)))) | ||
} else { | ||
None | ||
} | ||
}, |
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.
Thought: Might be good to retain an example doing this override behavior somewhere, if there isn't already one.
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.
Still tested here
fn test_override() { |
Same as |
#3910 #6234