@@ -46,7 +46,17 @@ Index: sagemaker-code-editor/vscode/src/vs/code/browser/workbench/workbench.html
4646===================================================================
4747--- sagemaker-code-editor.orig/vscode/src/vs/code/browser/workbench/workbench.html
4848+++ sagemaker-code-editor/vscode/src/vs/code/browser/workbench/workbench.html
49- @@ -46,14 +46,26 @@
49+ @@ -19,6 +19,9 @@
50+ <!-- Workbench Configuration -->
51+ <meta id="vscode-workbench-web-configuration" data-settings="{{WORKBENCH_WEB_CONFIGURATION}}">
52+
53+ + <!-- NLS Configuration -->
54+ + <meta id="vscode-remote-nls-configuration" data-settings="{{NLS_CONFIGURATION}}">
55+ +
56+ <!-- Workbench Auth Session -->
57+ <meta id="vscode-workbench-auth-session" data-settings="{{WORKBENCH_AUTH_SESSION}}">
58+
59+ @@ -46,14 +49,26 @@
5060 // Normalize locale to lowercase because translationServiceUrl is case-sensitive.
5161 // ref: https://github.com/microsoft/vscode/issues/187795
5262 const locale = localStorage.getItem('vscode.nls.locale') || navigator.language.toLowerCase();
@@ -174,7 +184,7 @@ Index: sagemaker-code-editor/vscode/src/vs/server/node/remoteLanguagePacks.ts
174184+ let result = _cache.get(key);
175185+ if (!result) {
176186+ // The OS Locale on the remote side really doesn't matter, so we pass in the same language
177- + result = lp.getNLSConfiguration("dummy_commmit ", userDataPath, metaData, language, language).then(value => {
187+ + result = lp.getNLSConfiguration("dummy_commit ", userDataPath, metaData, language, language).then(value => {
178188+ if (InternalNLSConfiguration.is(value)) {
179189+ value._languagePackSupport = true;
180190+ }
0 commit comments