Index: chrome/installer/util/language_selector.cc |
diff --git a/chrome/installer/util/language_selector.cc b/chrome/installer/util/language_selector.cc |
index d47998fa468b4dbb4c7beb7889e7fb78ac81d3d0..2923a8e8163441213717196519e0ca380b9c84ea 100644 |
--- a/chrome/installer/util/language_selector.cc |
+++ b/chrome/installer/util/language_selector.cc |
@@ -48,6 +48,13 @@ const LangToOffset kLanguageOffsetPairs[] = { |
// for which translations are available. |
const LangToOffset kLanguageToOffsetExceptions[] = { |
#if defined(GOOGLE_CHROME_BUILD) |
+ // Alias some English variants to British English (all others wildcard to US). |
+ { L"en-au", IDS_L10N_OFFSET_EN_GB }, |
+ { L"en-ca", IDS_L10N_OFFSET_EN_GB }, |
+ { L"en-nz", IDS_L10N_OFFSET_EN_GB }, |
+ { L"en-za", IDS_L10N_OFFSET_EN_GB }, |
+ // Alias es-es to es (all others wildcard to es-419). |
+ { L"es-es", IDS_L10N_OFFSET_ES }, |
// Google web properties use iw for he. Handle both just to be safe. |
{ L"he", IDS_L10N_OFFSET_IW }, |
// Google web properties use no for nb. Handle both just to be safe. |