What problem does it solve?
This Skill ensures consistency in internationalization (i18n) by synchronizing terms across all language translation files and a central glossary, preventing terminology drift and simplifying new language additions.
Core Features & Use Cases
- Terminology Consistency: Enforces uniform use of domain-specific terms across all supported languages.
- Drift Detection: Identifies and flags inconsistencies between glossary definitions and actual usage in translation files.
- Missing Translation Alerts: Highlights terms present in the codebase but missing from the glossary for specific languages.
- New Term Discovery: Automatically detects new terms introduced in translations and suggests adding them to the glossary.
- Deprecated Term Management: Flags terms in the glossary that are no longer in use.
- Use Case: After adding a new feature with terms like "lead" and "milestone," this skill verifies that these terms are correctly translated and consistently used in English, French, German, and Spanish, flagging any discrepancies or missing translations.
Quick Start
Run the i18n-glossary-sync skill to analyze translation files in the 'locales/' directory against the glossary at 'domains/i18n/glossary.md'.