Replies: 1 comment
-
I think the better idea might be to call |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am trying to use next-intl with i18n routing in a setup, where the locale is obtained via a http end point from the backend.
Here is some code from my latest almost working example:
middleware.ts:
i18n.ts:
The console log in getRequestConfig reports the correct locale 'de', the page is correctly translated, but the url in the path is prefixed with the wrong locale 'en'. How can I solve that?
Beta Was this translation helpful? Give feedback.
All reactions