frontend-i18n
Installation
SKILL.md
Frontend i18n Pattern
This skill outlines the standard pattern for implementing internationalization in Eridu frontend applications. We use Paraglide JS for type-safe, lightweight i18n.
Architecture
- Tooling:
@inlang/paraglide-js(v2+) - Configuration: Defined in
project.inlangat the app root. - Message Storage: JSON files in
src/i18n/messages/{lang}.json. - Output: Generated code in
src/paraglide(typically gitignored). - Shared Library:
@eridu/i18n(workspace package) for common translations and locale definitions.