Index: chrome/browser/chromeos/login/wizard_controller.cc |
diff --git a/chrome/browser/chromeos/login/wizard_controller.cc b/chrome/browser/chromeos/login/wizard_controller.cc |
index 5bc99f38c26b243a728aa8b94eecd1a0f8a0b25f..67bb61f8ce0df723cbef844b0cf27d6a97d61fc2 100644 |
--- a/chrome/browser/chromeos/login/wizard_controller.cc |
+++ b/chrome/browser/chromeos/login/wizard_controller.cc |
@@ -962,6 +962,9 @@ void ShowLoginWizard(const std::string& first_screen_name, |
base::ThreadRestrictions::ScopedAllowIO allow_io; |
const std::string loaded_locale = |
ResourceBundle::ReloadSharedInstance(locale); |
+ // Set the application locale here so that the language switch |
+ // menu shows the language name of |locale|. |
+ g_browser_process->SetApplicationLocale(locale); |
CHECK(!loaded_locale.empty()) << "Locale could not be found for " |
<< locale; |
} |