Index: chrome/browser/chromeos/input_method/candidate_window.cc |
diff --git a/chrome/browser/chromeos/input_method/candidate_window.cc b/chrome/browser/chromeos/input_method/candidate_window.cc |
old mode 100644 |
new mode 100755 |
index 17c9676ea1f01a1c3e9ff41eeaa3dee77597d60c..9b9ee5b3ab9d4eafe81b159b295321c3b4b0520a |
--- a/chrome/browser/chromeos/input_method/candidate_window.cc |
+++ b/chrome/browser/chromeos/input_method/candidate_window.cc |
@@ -1045,6 +1045,13 @@ int main(int argc, char** argv) { |
base::EnableTerminationOnHeapCorruption(); |
app::RegisterPathProvider(); |
CommandLine::Init(argc, argv); |
+ // TODO(markusheintz): The command line switch --Lang is now processed |
+ // by the CommandLinePrefStore and mapped to the preference |
+ // prefs::kApplicationLocale. This preferences can be read through the |
+ // PrefService. l10n_util::GetApplicationLocale() which is called by the |
+ // ResourceBundle code now ignores the --Lang flag. |
+ // In order to support the --Lang flag here the preference |
+ // prefs::kApplicationLocale must be read and passed instead of L"en-US". |
ResourceBundle::InitSharedInstance(L"en-US"); |
// Write logs to a file for debugging, if --logtofile=FILE_NAME is given. |