We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c4e2f9 commit e585587Copy full SHA for e585587
2 files changed
packages/vscode/src/client.ts
@@ -1,5 +1,6 @@
1
import "./fill/require";
2
import * as paths from "./fill/paths";
3
+import "./fill/platform";
4
import "./fill/storageDatabase";
5
import "./fill/windowsService";
6
import "./fill/environmentService";
packages/vscode/src/fill/platform.ts
@@ -0,0 +1,12 @@
+import * as platform from "vs/base/common/platform";
+
+// Use en instead of en-US since that's vscode default and it uses
+// that to determine whether to output aliases which will be redundant.
+if (platform.locale === "en-US") {
+ // tslint:disable-next-line no-any to override const
7
+ (platform as any).locale = "en";
8
+}
9
+if (platform.language === "en-US") {
10
11
+ (platform as any).language = "en";
12
0 commit comments