---
id: ssh-vscode-ext-localization
name: "vscode-ext-localization"
url: https://skills.yangsir.net/skill/ssh-vscode-ext-localization
author: github
domain: ai-software-architecture-engineering
tags: ["vs-code-extensions", "localization", "internationalization-(i18n)", "extension-development", "multi-language-support"]
install_count: 8600
rating: 4.50 (296 reviews)
github: https://github.com/github/awesome-copilot
---

# vscode-ext-localization

> 提供VS Code扩展本地化的正确指南，遵循开发规范、库和最佳实践。

**Stats**: 8,600 installs · 4.5/5 (296 reviews)

## Before / After 对比

### 规范VS Code扩展本地化流程

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


---
*Source: https://skills.yangsir.net/skill/ssh-vscode-ext-localization*
*Markdown mirror: https://skills.yangsir.net/api/skill/ssh-vscode-ext-localization/markdown*