DescriptionFix hyphenation for lang="de" and other fallback on Android
This patch fixes 3 issues for hyphenation to work on Android for
lang="de" and some other languages.
1. Android requires additional fallback mapping for "de" and some other
languages.
2. ASCII digits must be a valid locale.
3. When fallback occurs from platformGetHyphenation(), HashMap fails
to store the loaded dictionary when it calls get() recursively.
Also fallback list was changed to be lower case to avoid run-time
conversions.
BUG=605840
Committed: https://crrev.com/60ffd3221a5bbfa8f78c36a1957a7af84e16a0e7
Cr-Commit-Position: refs/heads/master@{#406384}
Patch Set 1 #Patch Set 2 : cleanup #Patch Set 3 : Change test to pass on M #
Total comments: 1
Patch Set 4 : eae review #Messages
Total messages: 29 (21 generated)
|