Index of every page on this site: llms.txt
All skills
github avatar

/vscode-ext-localization

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Guidelines for proper localization of VS Code extensions, following VS Code extension development guidelines, libraries and good practices

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/vscode-ext-localization

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈41 tokens for metadata: the name and description. ≈320 when used: this file.

Description uses 2.1% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈164 characters, or 2.1%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

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

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 warning2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides standard documentation and guidelines for localizing Visual Studio Code extensions. It contains no executable code or dangerous instructions.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer9mo

    1/1 file flagged

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 11 months ago
  • TypeScript
  • vscode
  • localization
  • i18n
  • extension
  • javascript
  • package.json
  • walkthrough

README badge

README badge for github/awesome-copilot/vscode-ext-localization

Provides guidelines for localizing VS Code extensions across three resource types: package.json metadata via language-specific .nls files, walkthrough markdown content, and source code strings via bundle.l10n files. Use this when adding or updating localizable UI elements, settings, commands, or messages in a VS Code extension targeting multiple languages.

Generated from the current SKILL.md.

What types of resources does this skill cover for localization?
The skill covers three categories: package.json configurations (settings, commands, menus, views, walkthroughs), walkthrough markdown content, and runtime messages in JavaScript/TypeScript source code.
How do I localize VS Code extension settings and commands?
Create language-specific package.nls files (e.g., package.nls.pt-br.json for Brazilian Portuguese) alongside your package.json with translations for all contributed configurations and commands.
How do I localize walkthrough content?
Create language-specific markdown files in the walkthrough directory (e.g., walkthrough/someStep.pt-br.md) that mirror your English walkthrough files.
Where do I localize strings in my extension code?
Create bundle.l10n JSON files for each language (e.g., bundle.l10n.pt-br.json) containing translations of messages and strings displayed to users from your JavaScript or TypeScript files.

Generated from the current SKILL.md. These answers refresh after source changes.