What problem does it solve?
This Skill solves the critical pain point of inconsistent, incomplete, or missing translations across the 4 required Swiss locales (German, English, French, Italian) for the Swiss AI Hub's separate frontend Nuxt and backend python-i18n systems, which leads to broken user experiences, compliance gaps for Swiss enterprise customers, and hours of manual debugging for development teams.
Core Features & Use Cases
- Full i18n Architecture Reference: Complete documentation of the dual frontend/backend i18n setup, including file structure, naming conventions, LocaleHandler/LocaleString class hierarchies, scope inheritance rules, and guidance on when to create new translation files vs extend existing ones.
- Deterministic Translation Validation: Includes a built-in script to automatically compare keys across all 4 locales, report missing/extra/empty translations, and calculate coverage percentages for both frontend and backend translation files.
- Hardcoded String Auditing: Guides developers to scan new code changes for unlocalized user-facing strings in Vue templates and Python code to enforce full translation compliance.
- Use Case: A developer adding a new RAG agent to the platform can use this Skill to create the correct scoped translation files, run validation to ensure all 4 locales have matching keys, and audit their code for any hardcoded strings that need translation.
Quick Start
Use the i18n skill to run the full translation validation and scan your latest code changes for hardcoded user-facing strings.