Skip to content

[Bug] pt-BR translation is just a file full of nulls #5127

@AshleyScirra

Description

@AshleyScirra

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 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

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugi18n

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions