microsoft / microsoft/monaco-editor
[Bug] pt-BR translation is just a file full of nulls
Open
@hediet is already working on this.
Since Nov 24, 2025.
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 Link
n/a
Monaco Editor Playground Code
n/a
Reproduction Steps
The localization instructions for Monaco say to load the appropriate nls script before the Monaco script, using a tag like:
<script src="path/to/monaco-editor/esm/nls.messages.de.js"></script>
However in the case of nls.messages.pt-br.js, I noticed the file is significantly smaller than all the others. Opening it shows the file is just full of null, e.g.:
globalThis._VSCODE_NLS_MESSAGES=[null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,
null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null
,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null...
Presumably something has gone wrong with the generation of this file.
Actual (Problematic) Behavior
No content in nls.messages.pt-br.js
Expected Behavior
Appropriate translations to be present in nls.messages.pt-br.js
Additional Context
Reproduces with v0.55.1
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.