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

[i-18n] The problem of switching languages and then refreshing the page and then going back to the default language #16

Open
PLQin opened this issue Sep 2, 2020 · 0 comments

Comments

@PLQin
Copy link

PLQin commented Sep 2, 2020

如题,自己也尝试做了一些修改,但是没成功。主要是遇到了这个问题,导致我无法在页面刷新时获得Cookie中的language来初始化设置语言 :

If the page is refreshed after switching the new language, the language displayed on the page will be changed back to the default language .
I also tried to make some modifications, but it was useless . Mainly because of this problem, I was unable to get the language in the Cookie to initialize the setting language when the page was refreshed:

image


求解惑,十万分感谢!
It would be very kind of you to help me!

@PLQin PLQin changed the title [i-8] 切换语言再刷新页面后变回默认语言的问题 #167 [i-18n] The problem of switching languages and then refreshing the page and then going back to the default language Sep 2, 2020
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

1 participant