i18n
Installation
SKILL.md
i18n (next-intl) Skill
This project uses next-intl in without-routing mode — no locale prefix in URLs. English only for now; new languages are added by dropping a new messages/<locale>.json and wiring locale detection.
Setup (already done)
npm install next-intl
messages/
en.json ← all translations, namespaced
i18n/
request.ts ← locale + messages loader
next.config.ts ← withNextIntl plugin
app/layout.tsx ← NextIntlClientProvider wraps the tree