DescriptionUI language list fix for the branch. (the trunk patch ( http://codereview.chromium.org/193027/) - essentially identical
except for [1] below)
30+ minimally populated locales were added to our ICU data. As a result,
GetAvailableLocale() used whenconstructing the UI language menu in Chrome list
languages Chrome is not localized to.
1. Add IsPartiallyPopulatedLocale() to l10n_util (anonymous namespace) and skip
those locales when constructing the locale list.
2. Add 'Hawaiian' to the Accept-Language list. I'll add other languages to the
trunk later.
[1] The accept-language list moved from chrome/browser/...page_view.cc to l10n_util.cc recently. For the branch, we have to change that file. In addition, what's refactored to IsLocaleNameTranslated() in the trunk patch is not refactored to minimize the code change in the last-minute branch patch.
BUG=21119
(http://crbug.com/21119), 19329 ( http://crbug.com/19329 )
TEST=Launch Chrome and go to Options | "Advanced" | Languages & Fonts menu |
Languages tab | Google Chrome language. The list of languages to choose from
should contain only languages Chrome is localized to (40 + 1 + 8) and should not
contain languages like Hawaian, Belarusian.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=25535
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|