This pull request improves the internationalization of the rogue-thi-app by refactoring the Next.js configuration and setting a language cookie. These changes enable consistent and user-friendly language switching across the app.
Oh we are the coders of the Next.js shipAnd we sail the web with a mighty grip
_We set the next_locale cookie with a click_
And we refactor the config to make it slick
Walkthrough
Persist user language preference with a cookie (link)
Import i18n configuration from a separate file to avoid duplication (link)
Enable trailing slash for every route to prevent redirection issues with next-i18next (link)
🤖 Generated by Copilot at 35e2f67
Summary
🍪🌐🔗
This pull request improves the internationalization of the
rogue-thi-app
by refactoring the Next.js configuration and setting a language cookie. These changes enable consistent and user-friendly language switching across the app.Walkthrough
next-i18next
(link)