| Index: chromecast/shell/browser/cast_content_browser_client.cc
|
| diff --git a/chromecast/shell/browser/cast_content_browser_client.cc b/chromecast/shell/browser/cast_content_browser_client.cc
|
| index 720bbb82de7447cd05f7fc01aec294f7eefd608b..12600e17aa0ebcaf149928b69633349463012c90 100644
|
| --- a/chromecast/shell/browser/cast_content_browser_client.cc
|
| +++ b/chromecast/shell/browser/cast_content_browser_client.cc
|
| @@ -97,7 +97,8 @@ void CastContentBrowserClient::OverrideWebkitPrefs(
|
| }
|
|
|
| std::string CastContentBrowserClient::GetApplicationLocale() {
|
| - return "en-US";
|
| + const std::string locale(base::i18n::GetConfiguredLocale());
|
| + return locale.empty() ? "en-US" : locale;
|
| }
|
|
|
| void CastContentBrowserClient::AllowCertificateError(
|
|
|