next-intl without routing: how to change locale?
Unanswered
American black bear posted this in #help-forum
American black bearOP
I don't understand how I can change the locale provided in
It only seems like the locale cannot be change dynamically, except if using the url with the [locale] route, but I don't want that.
I have tried looking at the examples, but no luck..
Any help is greatly appreciated, thank you!
i18n.ts via something like a language picker dropdown.It only seems like the locale cannot be change dynamically, except if using the url with the [locale] route, but I don't want that.
I have tried looking at the examples, but no luck..
Any help is greatly appreciated, thank you!
4 Replies
American black bearOP
Nope, I get this weird error when trying to switch locale.
Actually, I don't understand why there is a need for a [locale] folder, since what I'm trying to do is implement language switching without the URL.
American black bearOP
This is what I'm trying to implement: https://next-intl-docs.vercel.app/docs/getting-started/app-router/without-i18n-routing