This is a guide to add a new language to a Next.js project using next-intl for internationalization,
./messages.src/components/language-toggle.tsx.src/i18n/routing.ts
src/middleware.ts
When adding a new language:
en.json to the new language. The goal is to have all the JSON entries in the new language for a complete translation.routing.ts and middleware.ts.language-toggle.tsx.