Localization option added to Kusto and MSSQL (#15674)

* added environment language need to test

* added environment language, need to test if it works

* added locale change to code

* added Kusto localization for its ServiceLayer

* removed extra space

* removed console log and moved onto one line

* removed quotes
This commit is contained in:
Alex Ma
2021-06-11 12:35:18 -07:00
committed by GitHub
parent ddc6b2fdd8
commit b413de153c
2 changed files with 4 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ export function getLogFileName(prefix: string, pid: number): string {
export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileName: string, executablePath: string): string[] {
let launchArgs: string[] = [];
launchArgs.push(`--locale`, vscode.env.language);
launchArgs.push('--log-file');
let logFile = path.join(logPath, fileName);
launchArgs.push(logFile);

View File

@@ -94,6 +94,8 @@ export function getLogFileName(prefix: string, pid: number): string {
export function getCommonLaunchArgsAndCleanupOldLogFiles(logPath: string, fileName: string, executablePath: string): string[] {
let launchArgs = [];
launchArgs.push(`--locale`, vscode.env.language);
launchArgs.push('--log-file');
let logFile = path.join(logPath, fileName);
launchArgs.push(logFile);