Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Please refer to the examples, which have working locale switchers. This is also covered in the docs. I'm moving this to a discussion since it's a usage question. |
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
-
Description
Config
export const routing = defineRouting({ locales: ["en", "es"], defaultLocale: "en", localePrefix: { mode: "as-needed", }, });
Here the swither
Verifications
Mandatory reproduction URL
https://d10cir56sw4n5d.cloudfront.net/de
Reproduction description
Config
export const routing = defineRouting({ locales: ["en", "es"], defaultLocale: "en", localePrefix: { mode: "as-needed", }, });
Here the swither
"next-intl": "^3.24.0",
Expected behaviour
User can switch to defaultLocale
Beta Was this translation helpful? Give feedback.
All reactions