Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localize navigation history (History API) #2953

Open
FarzinMoha opened this issue May 23, 2024 · 1 comment
Open

Localize navigation history (History API) #2953

FarzinMoha opened this issue May 23, 2024 · 1 comment

Comments

@FarzinMoha
Copy link

FarzinMoha commented May 23, 2024

when I navigate to "/profile" from "/" and then click to change language, route changes to "it/profile" and then when I click on back button: <Button @click="router.back()">{{ t('back') }} the page doesn't navigate to "/it" it just back to "/profile"

I want when in homepage I navigate to "/profile" and then click to change language the route changes to "it/profile" and then when I click on back button it navigate to "/it/"

@BobbieGoede
Copy link
Collaborator

I'm not sure if we should change the navigation history (and if it is possible to accurately do so) but I'm open to look into if there's more demand.

@BobbieGoede BobbieGoede changed the title router.back() Localize navigation history (History API) Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants