-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugi18n
Milestone
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/aReproduction 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
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugi18n