i18n-translate
Installation
SKILL.md
Frontend i18n Translation Workflow
Overview
- Locale files:
web/default/src/i18n/locales/{en,zh,fr,ja,ru,vi}.json - Format: flat JSON under
"translation"key, keys are English source strings - Base locale:
en.json(most keys), fallback:zh(Chinese) - Sync script:
bun run i18n:sync(fromweb/default/) - All
t()calls must have corresponding keys in every locale file
Workflow
Step 1: Run sync and read report
cd web/default && bun run i18n:sync
Read web/default/src/i18n/locales/_reports/_sync-report.json to see per-locale status (missingCount, extrasCount, untranslatedCount).
Related skills