Skip to content

Commit 723a199

Browse files
committed
Pass system locale to renderer
Fix nwjs#669; Fix nwjs#103
1 parent f494d3a commit 723a199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shell_content_browser_client.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ WebContentsViewPort* ShellContentBrowserClient::OverrideCreateWebContentsView(
135135
}
136136

137137
std::string ShellContentBrowserClient::GetApplicationLocale() {
138-
return l10n_util::GetApplicationLocale("en-US");
138+
return l10n_util::GetApplicationLocale(std::string());
139139
}
140140

141141
void ShellContentBrowserClient::AppendExtraCommandLineSwitches(

0 commit comments

Comments
 (0)