I18N

i18n patterns for an AdonisJS + Inertia app. Keys namespaced by module, `useTranslation()` on the frontend and `ctx.i18n.t(...)` on the backend, locale persisted per user with a cookie fallback. Every new key needs an entry in every supported locale JSON. Use when adding UI strings, wiring a new module's translations, or debugging locale detection. Trigger on: "add translation", "i18n", "locale", "translate", "add key".

filipebraida c88e2ec 5.9 KB Updated

File contents

filipebraida/adonisjs-starter-kit/tree/main/packages/skills/i18n commit c88e2ecf9a

Frequently asked questions

npx skillmds@latest add filipebraida/i18n