summaryrefslogtreecommitdiff
path: root/tools/localedata
AgeCommit message (Collapse)Author
2019-12-16Regenerate LocaleDataTables.cppVictor Chang
LocaleDataTables.cpp is outdated due to ICU update over the years Test: ./tools/localedata/extract_icu_data.py $ANDROID_BUILD_TOP Test: m droid Change-Id: I21918cc0f50c7347e514dc7b015607e19cffb377
2018-12-11Fix cert-dcl16-c clang-tidy warnings.Chih-Hung Hsieh
Bug: 120614316 Test: make with WITH_TIDY=1 DEFAULT_GLOBAL_TIDY_CHECKS=-*,cert-dcl16-c Change-Id: I2dc262d3407aafa969e921236dc3fc3ae60eb9d4
2017-01-13Update locale data from in-tree ICURoozbeh Pournader
Also add back script information for Yiddish old code (ji) that was removed in ICU. Bug: 26756576 Test: none Change-Id: Ia785f86bf0407aeed6134ef9d44e504494256da2
2016-01-21Implement smarter locale resource selectionRoozbeh Pournader
* Add support for determining script from language and region. * Add support for determining special parents of locales. * Add support for smart comparison of locales with only a difference in region, using the locale parentage tree. * Fix LocaleData.matchScore() to not fallback to old locale matching behavior if we can't determine a script. * Allow four-character variant codes. (Previously, only five- to eight-character variant codes were allowed.) Bug: 7296673 Bug: 26589793 Change-Id: Ibde0a48c0564ff383b41068095a5cbacfe7b94bc