sonamu-i18n
Installation
SKILL.md
Sonamu i18n
The configured API directory is the source of truth for project locale files. After editing
<api.dir>/src/i18n/<locale>.ts, run from the API package root:
pnpm sonamu sync
Sync copies every supported locale file to each directory in sync.targets and overwrites
sd.generated.ts for the API and every target. Do not edit those copied or generated files.
Configure the locale set in sonamu.config.ts. defaultLocale must also appear in
supportedLocales; generated types and imports use the default locale as the dictionary contract.