What problem does it solve?
This Skill streamlines the process of managing translations across multiple locales within the Nuclia frontend monorepo, ensuring consistency and efficiency in internationalization efforts.
Core Features & Use Cases
- Consistent Key Management: Enforces flat dot-notation keys and prevents direct JSON file edits for adding, renaming, or deleting translations.
- Multi-Framework Support: Covers ngx-translate for Angular, and an independent i18n system for the Svelte-based search-widget.
- Workflow Guidance: Provides clear instructions for using BabelEdit, the
translate pipe, TranslateService, and the specific i18n API for the search-widget.
- Use Case: When adding a new feature that requires user-facing text in English, Spanish, French, and Catalan, this Skill guides you through the entire process, from key creation to template implementation, ensuring all locales are updated simultaneously and correctly.
Quick Start
Use the i18n-patterns skill to add a new translatable string 'welcome.message' with the value 'Welcome to Nuclia!' to the dashboard application.