Index: chrome/browser/chrome_browser_main_android.cc |
diff --git a/chrome/browser/chrome_browser_main_android.cc b/chrome/browser/chrome_browser_main_android.cc |
index 7c71f4f1c95032521e7184b07381f9bef3d46057..27f240e04df841398955305bc3c083e2f877828f 100644 |
--- a/chrome/browser/chrome_browser_main_android.cc |
+++ b/chrome/browser/chrome_browser_main_android.cc |
@@ -80,6 +80,10 @@ int ChromeBrowserMainPartsAndroid::PreCreateThreads() { |
crash_dump_dir, kAndroidMinidumpDescriptor)); |
} |
+ // Auto-detect based on en-US whether secondary locale .pak files exist. |
+ ui::SetLoadSecondaryLocalePaks( |
+ !ui::GetPathForAndroidLocalePakWithinApk("en-US").empty()); |
+ |
return ChromeBrowserMainParts::PreCreateThreads(); |
} |