What problem does it solve?
Internationalization and localization are essential but complex when building software for multiple locales. This Skill provides guidance on architecture patterns, translation formats, and locale-aware formatting to simplify multi-language support.
Core Features & Use Cases
- Architecture patterns: Separate translatable content from code and support dynamic locale switching.
- Translation formats: JSON, YAML, PO/POT, and ICU message formats with practical examples.
- Localization practices: RTL handling, pluralization rules, date/number formatting, and locale fallbacks.
- Use Case: Build an app that supports en-US and fr-FR with proper date, number, and currency formatting across locales.
Quick Start
Set up locale files under src/locales (e.g., en-US, fr-FR), wire a locale selector in your app, and load translations with i18next or react-intl.