You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using localePrefix: "never"
when I navigate from /home to /about and go back from /about to /home and the locale is en it works
the same when the locale is ar.
the problem comes after changing the locale and try navigating, it goes back to the previous locale.
e.g.
en: /home --> ar: /home via locale switcher it works
ar: /home --> ar: /about it navigate to en: /about
Verifications
I've verified that the problem I'm experiencing isn't covered in the docs.
I've searched for similar, existing issues on GitHub and Stack Overflow.
Seems like there's been a regression on the Next.js side in one of the latest versions. This was reported before in #786, was fixed on the Next.js side but apparently broke again now.
I'll close this in favor of #786, thanks for the report! See also the linked issue for workarounds.
Description
I am using
localePrefix: "never"
when I navigate from
/home
to/about
and go back from/about
to/home
and the locale isen
it worksthe same when the locale is
ar
.the problem comes after changing the locale and try navigating, it goes back to the previous locale.
e.g.
en: /home
-->ar: /home
via locale switcher it worksar: /home
-->ar: /about
it navigate toen: /about
Verifications
Mandatory reproduction URL
https://next-intl-locale-prefix-never.vercel.app
Reproduction description
Steps to reproduce:
Expected behaviour
It should navigate to the /about page with ar locale
The text was updated successfully, but these errors were encountered: