From fb41f69a941d707ca233dded698299ce98bdbfa7 Mon Sep 17 00:00:00 2001 From: Piotr Rajnisz <56397164+rajniszp@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:19:51 +0200 Subject: [PATCH] i18n: add missing localizations for monaco-editor (#268038) Add missing localizations --- build/gulpfile.editor.js | 2 +- build/lib/i18n.js | 7 ++++--- build/lib/i18n.ts | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/build/gulpfile.editor.js b/build/gulpfile.editor.js index 1136430dd99..5d8d47677a6 100644 --- a/build/gulpfile.editor.js +++ b/build/gulpfile.editor.js @@ -75,7 +75,7 @@ const compileEditorESMTask = task.define('compile-editor-esm', () => { .pipe(i18n.processNlsFiles({ out, fileHeader: BUNDLED_FILE_HEADER, - languages: i18n.defaultLanguages, + languages: [...i18n.defaultLanguages, ...i18n.extraLanguages], })) .pipe(filter(['**', '!**/inlineEntryPoint*', '!**/tsconfig.json', '!**/loader.js'])) .pipe(gulp.dest(out)) diff --git a/build/lib/i18n.js b/build/lib/i18n.js index a2d7e8720fd..e0dafe44aaf 100644 --- a/build/lib/i18n.js +++ b/build/lib/i18n.js @@ -41,11 +41,12 @@ exports.defaultLanguages = [ { id: 'ru', folderName: 'rus' }, { id: 'it', folderName: 'ita' } ]; -// languages requested by the community to non-stable builds +// languages requested by the community exports.extraLanguages = [ { id: 'pt-br', folderName: 'ptb' }, - { id: 'hu', folderName: 'hun' }, - { id: 'tr', folderName: 'trk' } + { id: 'tr', folderName: 'trk' }, + { id: 'cs' }, + { id: 'pl' } ]; var LocalizeInfo; (function (LocalizeInfo) { diff --git a/build/lib/i18n.ts b/build/lib/i18n.ts index b4766f725b7..4506b2e3cd0 100644 --- a/build/lib/i18n.ts +++ b/build/lib/i18n.ts @@ -44,11 +44,12 @@ export const defaultLanguages: Language[] = [ { id: 'it', folderName: 'ita' } ]; -// languages requested by the community to non-stable builds +// languages requested by the community export const extraLanguages: Language[] = [ { id: 'pt-br', folderName: 'ptb' }, - { id: 'hu', folderName: 'hun' }, - { id: 'tr', folderName: 'trk' } + { id: 'tr', folderName: 'trk' }, + { id: 'cs' }, + { id: 'pl' } ]; interface Item {