vscode-ext-localization

작성자: github

VS Code 확장 프로그램의 설정, 둘러보기 콘텐츠, 소스 코드 메시지를 현지화합니다. 세 가지 현지화 접근 방식: 설정, 명령, 메뉴, 뷰를 위한 package.nls.LANGID.json; 둘러보기 콘텐츠를 위한 마크다운 파일; 소스 코드 문자열을 위한 bundle.l10n.LANGID.json. 기여된 설정, 명령, 메뉴, 뷰, ViewsWelcome, 둘러보기 제목 및 설명을 포함한 모든 사용자 대상 리소스를 다룹니다. 모든 현지화 파일을 생성하거나 업데이트해야 합니다...

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

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