This repository has been archived by the owner on Jan 4, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
BrowserProcessImpl::GetApplicationLocale
for
`BraveContentBrowserClient::GetApplicationLocale` because the result of `extension_l10n_util::CurrentLocaleOrDefault` will be normalized by `l10n_util::NormalizeLocale` which means turning en-US to en_US `chrome.i18n.getUILanguage` uses `RenderThread::GetLocale()` which reads from switch `--lang` appended when renderer process created and the value is reading from `ContentBrowserClient::GetApplicationLocale` fix brave/browser-laptop#11624 Auditors: @bridiver, @bbondy
- Loading branch information