0

I'm trying to use the router.back(), but I'm also using i18n localization.

I start at the Home page which is "localhost/" and navigate to "localhost/auth/sign-in".

Now on changing the language (which has its specific route) "localhost/firstLang/auth/sign-in" and then changing again to another language "localhost/secondLang/auth/sign-in".

When I want to navigate back using router.back() I want to be navigated to "localhost/secondLang" not to "localhost/firstLang/auth/sign-in".

juliomalves
  • 42,130
  • 20
  • 150
  • 146
  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Oct 25 '21 at 18:24
  • How are you switching between languages? Could you please provide some code? – juliomalves Oct 30 '21 at 11:40

0 Answers0