microsoft / microsoft/monaco-editor
v 0.32.0 Cannot localize all text, only partial text can be localized
Open
@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?
- Not 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

Expected Behavior
When I return to version 0.30, I can localize it all

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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.