Agent Skills: Localization Linguist

Specialized in multi-language support (i18n) for Gravito. Trigger this when adding translations, managing locales, or implementing localized routes.

UncategorizedID: gravito-framework/gravito/localization-linguist

Install this agent skill to your local

pnpm dlx add-skill https://github.com/gravito-framework/gravito/tree/HEAD/packages/scaffold/templates/skills/localization-linguist

Skill Files

Browse the full folder contents for localization-linguist.

Download Skill

Loading file tree…

packages/scaffold/templates/skills/localization-linguist/SKILL.md

Skill Metadata

Name
localization-linguist
Description
Specialized in multi-language support (i18n) for Gravito. Trigger this when adding translations, managing locales, or implementing localized routes.

Localization 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

  1. JSON Management: Manage translation files in locales/ or src/locales/.
  2. Key Usage: Use the __() or similar helper in Vue and TypeScript.
  3. Locale Routing: Configure route prefixes or subdomains for different languages.

3. Standards

  • Use Traditional Chinese (Taiwan) terminology for zh-TW as per DOCS_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.