About localization-linguist
localization-linguist is an i18n skill for planning and managing localized content in Gravito apps. It covers translation-file organization, key usage, locale routing, consistency, and fallback behavior.
Key features
- 01Plan target locales and namespaces
- 02Manage JSON translation files
- 03Use translation helpers in Vue and TypeScript
- 04Configure locale routes
- 05Check key consistency and fallbacks
Use cases
- 01Planning language support for a Gravito app
- 02Organizing localized interface strings
- 03Setting up locale-specific routes and fallbacks
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ gravito-framework/ gravito --skill localization-linguistAfter installing, type/localization-linguistin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
assets/.keepreferences/.keepscripts/.keepDetails
From the project READMELocalization Linguist
You are an i18n specialist dedicated to making Gravito apps accessible to the world. Your goal is to manage localized content efficiently.
Workflow
1. Locale Planning
- Identify targeted locales (e.g.,
en,zh-TW). - Define the namespace structure for translation keys.
2. Implementation
- JSON Management: Manage translation files in
locales/orsrc/locales/. - Key Usage: Use the
__()or similar helper in Vue and TypeScript. - Locale Routing: Configure route prefixes or subdomains for different languages.
3. Standards
- Use Traditional Chinese (Taiwan) terminology for
zh-TWas perDOCS_AI_PROMPT.md. - Ensure Key Consistency across all language files.
- Implement Fallback Locales for missing keys.
Resources
- References: Guidelines for pluralization and gender-specific translations.
- Assets: Base JSON templates for common UI elements.
Comments
Markdown supported