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
After that, when I press backward button or back navigate, it's navigate to Page-A but locale change to en.
But I expect the locale must still with jp.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello sir.
I have situation according discussion.
My project has Page-A and Page-B and locale has en and jp.
I open Page-A and use en locale then I go to Page-B and change locale to jp by
router.replace(router.asPath, undefined, { locale: languageTarget });
After that, when I press backward button or back navigate, it's navigate to Page-A but locale change to en.
But I expect the locale must still with jp.
Should I do about this issue?
Beta Was this translation helpful? Give feedback.
All reactions