Vscode Ext Localization
Published by aicyberguardian in storycraftr-next
No known issues1 installs
What this skill does
Guidelines for proper localization of VS Code extensions, following VS Code extension development guidelines, libraries and good practices
Add Vscode Ext Localization to your agent
Review the source and files first. When you are ready, copy the prompt instruction or use the CLI command supported by your environment.
Install with a prompt
Paste this into a compatible coding agent:
add this skill "vscode-ext-localization" from https://github.com/aicyberguardian/storycraftr-nextInstall with the CLI
Run this command in a controlled environment after reviewing the repository:
npx skills add https://github.com/aicyberguardian/storycraftr-next --skill vscode-ext-localizationSkill instructions
VS Code Extension Localization
Guidelines for properly localizing every aspect of VS Code extensions.
Localization Approaches
1. Configuration (Settings, Commands, Menus, Views, Walkthroughs)
- Create
package.nls.LANGID.jsonfiles - Example:
package.nls.pt-br.jsonfor Brazilian Portuguese - Translate all
title,description, and user-facing strings
2. Walkthrough Content
- Create localized Markdown files
- Example:
walkthrough/someStep.pt-br.md - Translate narrative content and instructions
3. Source Code Messages
- Create
bundle.l10n.LANGID.jsonfiles - Example:
bundle.l10n.pt-br.jsonfor Brazilian Portuguese - Translate user-facing strings in TypeScript/JavaScript
Process
When adding new localizable resources:
- Create the resource in the default language
- For each supported language:
- Create language-specific configuration/content file
- Translate all user-facing strings
- Maintain consistency with existing terminology
Supported Language Codes
pt-br: Brazilian Portuguesees: Spanishfr: Frenchde: Germanja: Japanesezh-cn: Simplified Chinese- And others as needed
Best Practices
- Keep translations consistent with existing glossary
- Review translations for clarity and cultural appropriateness
- Test localized UI to ensure proper display
- Maintain translation files in sync with source changes
- Document terminology decisions in translation notes
Files to Localize
package.json: Commands, settings, views, walkthroughs- Extension code: User messages, error strings, status updates
- Documentation: Walkthrough content, tutorials
Files included
- SKILL.md

