Replies: 1 comment
|
Use export const routing = defineRouting({
locales: ['en', 'de'],
defaultLocale: 'en',
localePrefix: 'as-needed'
});With that setup, |
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.
Basically, there is such a possibility in next-intl that it can only change by changing the prefix of the site language, but after changing the prefix?
That is, the user enters the following value in the browser's address bar:
Here the language of the site should be changed to English, but the prefix should be removed:
All reactions