From 4d49248401f8425e05ca70076b880de49ef8f9b7 Mon Sep 17 00:00:00 2001 From: Dirk Baeumer Date: Mon, 27 Aug 2018 14:42:13 +0200 Subject: [PATCH] Mark the VSCODE_NLS_CONFIG to have language pack support --- src/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.js b/src/main.js index 711217d64e2..864ccf1435b 100644 --- a/src/main.js +++ b/src/main.js @@ -475,6 +475,7 @@ app.once('ready', function () { // If that fails we fall back to English. nlsConfiguration.then((nlsConfig) => { let boot = (nlsConfig) => { + nlsConfig._languagePackSupport = true; process.env['VSCODE_NLS_CONFIG'] = JSON.stringify(nlsConfig); if (cachedDataDir) process.env['VSCODE_NODE_CACHED_DATA_DIR_' + process.pid] = cachedDataDir; require('./bootstrap-amd').bootstrap('vs/code/electron-main/main');