Repository navigation
Open
Copy link
Milestone
Description
The current release of Container Tools ships no translations. With the Chinese (Simplified) Language Pack, VS Code itself is in Chinese, but everything this extension adds (view and command names, setting descriptions, quick picks, notifications, error messages) is English.
I'd like to request localization support, with Simplified Chinese (zh-cn) first. Other VS Code display languages could follow.
What I checked
- The current Marketplace build,
ms-azuretools.vscode-containers2.5.3, containsextension/package.nls.json(English, 369 keys) and no other localization files. There is nopackage.nls.<locale>.json, nol10n/folder, and no"l10n"field inpackage.json, so VS Code has nothing to load for any non-English display language. - The source is mostly prepared for it. At
cb1dcf0(main),package.jsonuses 367%key%placeholders defined inpackage.nls.json, and the shipped code has 446l10n.t()calls in 145 files (extensions/vscode-containers/srcandpackages/vscode-docker-registries/src, tests excluded)..github/skills/code-review/rubric.mdalso asks that every user-facing string be localized. - I found no
@vscode/l10n-devdependency, no script that exportsbundle.l10n.json, and no translated files in the repo. - Dev Containers (
ms-vscode-remote.remote-containers0.471.0) is the closest comparison. It shipspackage.nls.<locale>.jsonandl10n/bundle.l10n.<locale>.jsonfor 13 languages, includingzh-cnandzh-tw, and sets"l10n": "./l10n". - I searched issues, pull requests and discussions in this repo for "i18n", "l10n", "localization", "translation" and "Chinese" and found no existing request. The closest are Localize
enumItemLabelsfor container clients #582 and Localize container client enum labels #583, which moved the container client labels intopackage.nls.jsonso they can be localized.
Request
- Ship translated resources:
package.nls.<locale>.jsonfor the manifest andl10n/bundle.l10n.<locale>.jsonfor runtime strings, with"l10n": "./l10n"inpackage.json. Start withzh-cn. - Add an extraction step (for example
@vscode/l10n-dev export) so new strings reach the bundle. It needs to coverpackages/vscode-docker-registries, which is bundled from source. - Wrap the strings that are still literals. A few I noticed at
cb1dcf0:extensions/vscode-containers/package.json: the debugger label and the launch snippet labels and descriptionsextensions/vscode-containers/src/utils/multiSelectNodes.ts:51extensions/vscode-containers/src/commands/registries/deleteRemoteImage.ts:41extensions/vscode-containers/src/commands/registries/azure/createAzureRegistry.ts:57
Questions
- Is localization planned? Could Container Tools use the same Microsoft localization process as Dev Containers?
- If not, would you accept community translations as pull requests, and in what form (files, review process)?
Metadata
Metadata
Assignees
Labels
No labels
Activity
Localize remaining UI strings identified in #648 (#649)
bwateratmsft commentedon Nov 4, 2026
We'd accept PRs for this!
McCoubrey2299 commentedon Nov 5, 2026
We'd accept PRs for this!
Add Simplified Chinese (zh-cn) localization
linghengqian commentedon Nov 5, 2026
See #650 .