Change chrome.accessibilityPrivate.getDisplayLanguage to getDisplayNameForLocale
A locale as used by ICU and by ISO standards refers to the [language]-[region/country] specifier. This change makes it so the chrome.accessibilityPrivate binding formerly called getDisplayLanguage returns instead the full display name for locale. This means that we can disambiguate between languages from specific regions e.g. English from the United Kingdom (en-GB) vs English from The United States (en-US). Possible clients of the api are ChromeVox and tts. This is mostly a stopgap measure until a more standards based solution comes. Change-Id: I1d0eda2edb28dbb5ee23e035d58ee5e4e46b617a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1955100 Commit-Queue: David Tseng <dtseng@chromium.org> Reviewed-by:Devlin <rdevlin.cronin@chromium.org> Reviewed-by:
Jungshik Shin <jshin@chromium.org> Reviewed-by:
Akihiro Ota <akihiroota@chromium.org> Cr-Commit-Position: refs/heads/master@{#727181}
Showing
Please register or sign in to comment