We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
/kind bug
已激活主题: Earth 1.12.2 已启动插件: 页面静态缓存 1.2.1
启用缓存插件后,页面无法正常按照i18n适应不同语言
中文环境看到中文界面,英文环境看到英文界面
安装 页面静态缓存 1.2.1 ,初次访问使用非中文环境,二次访问使用中文环境,检查界面文本
解决方法也很简单就是禁用 页面静态缓存 1.2.1
不清楚这应该是给插件还是主题发issue,虽然说很明显是缓存产生的问题,但是我认为是i18能够选择性开启或者可以自己设置默认语言,因为目前就算是不启用缓存插件,中文站点被像是谷歌爬虫爬取的界面文本也会显示英文
如果您希望根据语言设置动态更改内容或重新路由用户,则请注意,Google 可能无法找到并抓取您的所有变体版本。这是因为,Googlebot 抓取工具通常来自美国。另外,该抓取工具在发送 HTTP 请求时并不会在请求标头中设置 Accept-Language。 https://developers.google.com/search/docs/specialty/international/managing-multi-regional-sites?hl=zh-cn
目前我是将其他语言都删掉了,只保留了简体中文的文件,当然希望有更好的解决方法。
The text was updated successfully, but these errors were encountered:
halo-dev/halo#7047
Sorry, something went wrong.
No branches or pull requests
What type of issue is this?
/kind bug
System information:
已激活主题: Earth 1.12.2
已启动插件: 页面静态缓存 1.2.1
What happened?
启用缓存插件后,页面无法正常按照i18n适应不同语言
What did you expect to happen?
中文环境看到中文界面,英文环境看到英文界面
How can we reproduce it (as minimally and precisely as possible)?
安装 页面静态缓存 1.2.1 ,初次访问使用非中文环境,二次访问使用中文环境,检查界面文本
Anything else we need to know?
解决方法也很简单就是禁用 页面静态缓存 1.2.1
不清楚这应该是给插件还是主题发issue,虽然说很明显是缓存产生的问题,但是我认为是i18能够选择性开启或者可以自己设置默认语言,因为目前就算是不启用缓存插件,中文站点被像是谷歌爬虫爬取的界面文本也会显示英文
目前我是将其他语言都删掉了,只保留了简体中文的文件,当然希望有更好的解决方法。
The text was updated successfully, but these errors were encountered: