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.inlang at 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.

Workflow: Adding Translations

  1. Locate the Message File: Open src/i18n/messages/en.json (English is the source language).
  2. Add Your Key: Add a new key-value pair. You can nest keys for better organization.
    {
      "dashboard": {
    
Related skills
Installs
2
GitHub Stars
1
First Seen
Jan 21, 2026