mcpField
V
vscode-ext-localization

vscode-ext-localization

github.com/githubDevelopment40.5k8.9k installsUpdated today
Repository

About vscode-ext-localization

vscode-ext-localization is a skill for localizing user-facing text in VS Code extensions. It explains the separate resource files used for package contributions, walkthrough content, and strings in JavaScript or TypeScript source.

Key features

  1. 01Localize package.json contributions
  2. 02Create translated walkthrough Markdown files
  3. 03Localize source-code strings
  4. 04Use resource files for each localization type

Use cases

  1. 01Translating extension settings and commands
  2. 02Localizing walkthrough content
  3. 03Updating user-facing source strings across languages

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/github/awesome-copilot --skill vscode-ext-localization

After installing, type/vscode-ext-localizationin Claude Code to confirm it loaded.

Details

From the project README

VS Code extension localization

This skill helps you localize every aspect of VS Code extensions

When to use this skill

Use this skill when you need to:

  • Localize new or existing contributed configurations (settings), commands, menus, views or walkthroughs
  • Localize new or existing messages or other string resources contained in extension source code that are displayed to the end user

Instructions

VS Code localization is composed by three different approaches, depending on the resource that is being localized. When a new localizable resource is created or updated, the corresponding localization for all currently available languages must be created/updated.

  1. Configurations like Settings, Commands, Menus, Views, ViewsWelcome, Walkthrough Titles and Descriptions, defined in package.json -> An exclusive package.nls.LANGID.json file, like package.nls.pt-br.json of Brazilian Portuguese (pt-br) localization
  2. Walkthrough content (defined in its own Markdown files) -> An exclusive Markdown file like walkthrough/someStep.pt-br.md for Brazilian Portuguese localization
  3. Messages and string located in extension source code (JavaScript or TypeScript files) -> An exclusive bundle.l10n.pt-br.json for Brazilian Portuguese localization

Comments

Markdown supported