Skip to content

Commit f18bef7

Browse files
committed
Fixes Read VSCODE_NLS_CONFIG form userEnv as realy as possible
1 parent 0f5937c commit f18bef7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/vs/workbench/electron-browser/index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,10 @@
109109
var enableDeveloperTools = !configuration.isBuilt || !!configuration.extensionDevelopmentPath;
110110

111111
process.env['VSCODE_SHARED_IPC_HOOK'] = configuration.sharedIPCHandle;
112+
// Get the nls configuration into the process.env as early as possible.
113+
if (configuration.userEnv && configuration.userEnv['VSCODE_NLS_CONFIG']) {
114+
process.env['VSCODE_NLS_CONFIG'] = configuration.userEnv['VSCODE_NLS_CONFIG'];
115+
}
112116

113117
registerListeners(enableDeveloperTools);
114118

0 commit comments

Comments
 (0)