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

Missing changed locale when reload the page #49

Closed
Kennn-dev opened this issue Aug 10, 2021 · 2 comments
Closed

Missing changed locale when reload the page #49

Kennn-dev opened this issue Aug 10, 2021 · 2 comments

Comments

@Kennn-dev
Copy link

i see the Example on next
https://stackblitz.com/edit/github-81zmya


When i change the Language ( switch locale ) , everything is good , but when i reload the entire of page , the locale is missing and back to the default locale

So how we can prevent this ?

@amannn
Copy link
Owner

amannn commented Aug 10, 2021

I'm not familiar with StackBlitz, but it seems like they don't change the URL of the preview when the URL of the app changes. Also when you navigate to the about page the URL stays the same and is thus lost after a reload.

If you run the example natively in a browser this works as expected.

Does this help?

@Kennn-dev
Copy link
Author

I'm not familiar with StackBlitz, but it seems like they don't change the URL of the preview when the URL of the app changes. Also when you navigate to the about page the URL stays the same and is thus lost after a reload.

If you run the example natively in a browser this works as expected.

Does this help?

I Was try to create a new page using this , yeah its work ! Thanks for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants