Skip to content

Commit

Permalink
Pass renderer locale to exthost, fixes #85675
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhao271 committed Jan 20, 2022
1 parent 9b60bf1 commit 06d76d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ export class LocalProcessExtensionHost implements IExtensionHost {
VSCODE_IPC_HOOK_EXTHOST: pipeName,
VSCODE_HANDLES_UNCAUGHT_ERRORS: true,
VSCODE_LOG_STACK: !this._isExtensionDevTestFromCli && (this._isExtensionDevHost || !this._environmentService.isBuilt || this._productService.quality !== 'stable' || this._environmentService.verbose),
VSCODE_LOG_LEVEL: this._environmentService.verbose ? 'trace' : this._environmentService.log
VSCODE_LOG_LEVEL: this._environmentService.verbose ? 'trace' : this._environmentService.log,
'LANG': processEnv['LANG'] ?? Intl.DateTimeFormat().resolvedOptions().locale
});

if (this._environmentService.debugExtensionHost.env) {
Expand Down

0 comments on commit 06d76d3

Please sign in to comment.