microsoft / microsoft/monaco-editor

v 0.32.0 Cannot localize all text, only partial text can be localized

Open
#3,038 1 comment 1 reaction 1 assignee View on GitHub

@alexdima is already working on this.

Since Mar 25, 2022.

bug i18n
Dominant language
JavaScript
Stars
46.8k
Forks
4.1k
Avg merge
17h 58m
Merged PRs (30d)
1

Description

Reproducible in vscode.dev or in VS Code Desktop?
  • Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
Monaco Editor Playground Code
import { setLocaleData } from 'monaco-editor-nls'
import zh_CN from 'monaco-editor-nls/locale/zh-hans'
setLocaleData(zh_CN)
// import * as monaco from 'monaco-editor'
const monaco = require('monaco-editor/esm/vs/editor/editor.api')
Actual Behavior

Only part of the text has been localized, and most of the text is still the original text
飞书20220325-201523

Expected Behavior

When I return to version 0.30, I can localize it all
飞书20220325-201533

Additional Context

monaco-editor version : 0.32.0
monaco-editor-nls version: 2.0.0
monaco-editor-esm-webpack-plugin version: 2.0.2
monaco-editor-webpack-plugin version: 7.0.0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.