vscode-ext-localization
作成者: github
VS Code拡張機能を、設定、ウォークスルーコンテンツ、ソースコードメッセージにわたってローカライズします。3つのローカライズ手法:設定、コマンド、メニュー、ビュー用のpackage.nls.LANGID.json;ウォークスルーコンテンツ用のマークダウンファイル;ソースコード文字列用のbundle.l10n.LANGID.json。提供される設定、コマンド、メニュー、ビュー、ViewsWelcome、ウォークスルーのタイトルと説明を含むすべてのユーザー向けリソースをカバーします。すべてのローカライズファイルを作成または更新する必要があります。
npx skills add https://github.com/github/awesome-copilot --skill vscode-ext-localizationVS 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.
- Configurations like Settings, Commands, Menus, Views, ViewsWelcome, Walkthrough Titles and Descriptions, defined in
package.json-> An exclusivepackage.nls.LANGID.jsonfile, likepackage.nls.pt-br.jsonof Brazilian Portuguese (pt-br) localization - Walkthrough content (defined in its own
Markdownfiles) -> An exclusiveMarkdownfile likewalkthrough/someStep.pt-br.mdfor Brazilian Portuguese localization - Messages and string located in extension source code (JavaScript or TypeScript files)
-> An exclusive
bundle.l10n.pt-br.jsonfor Brazilian Portuguese localization