What problem does it solve?
This Skill addresses the challenge of making applications accessible to a global audience by providing patterns and tools for internationalization (i18n) and localization (L10n), ensuring consistent and culturally appropriate user experiences across different languages and regions.
Core Features & Use Cases
- Detecting Hardcoded Strings: Identifies and flags text directly embedded in the code that should be externalized for translation.
- Managing Translations: Offers guidance on structuring and maintaining locale files (e.g., JSON) for different languages.
- Locale File Management: Provides a clear file structure for organizing translations by language and feature.
- RTL Support: Includes CSS best practices for right-to-left language layouts.
- Use Case: A web application needs to be translated into Spanish, French, and Arabic. This Skill helps ensure all user-facing text is properly marked for translation, locale files are created, and the UI adapts correctly for RTL languages like Arabic.
Quick Start
Run the i18n checker script against your project directory to identify potential issues.