Replies: 1 comment
-
|
You can implement implement this in next-intl/packages/next-intl/src/middleware/resolveLocale.tsx Lines 38 to 52 in c250676 And then of course add the handling for an existing cookie, etc. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I want to translate my Next.js project using next-intl (I only ever worked with ParaglideJS in Svelte) and want a simple setup without locale-specific routes.
My Goals:
How would I implement this?
Closest thing I’ve found is this example, but it doesn’t cover automatic detection or a cookie override: https://next-intl.dev/examples#app-router-without-i18n-routing
Beta Was this translation helpful? Give feedback.
All reactions