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
建议提供网站页面语言设置 #3692
Labels
area/console
Issues or PRs related to the Halo Console
kind/improvement
Categorizes issue or PR as related to a improvement.
Milestone
Comments
/priority awaiting-more-evidence |
f2c-ci-robot
bot
added
the
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
label
Apr 6, 2023
现在console端无论选择什么语言都会弹出翻译,确实很烦。 Line 2 in 02369fb
chrome可能根据第一个请求的html来确定是否启动翻译。 我觉得可以直接删掉,但这样会使得选择了英文语言的时候翻译不会弹出。 |
/remove-priority awaiting-more-evidence |
f2c-ci-robot
bot
added
kind/improvement
Categorizes issue or PR as related to a improvement.
area/console
Issues or PRs related to the Halo Console
and removed
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
labels
Jun 16, 2023
/assign |
@longjuan 先去掉 index.html 的 lang 属性吧。 |
f2c-ci-robot bot
pushed a commit
that referenced
this issue
Jun 19, 2023
#### What type of PR is this? /kind improvement /area console #### What this PR does / why we need it: 去除`index.html`的`lang`属性以避免console端出现翻译提示 #### Which issue(s) this PR fixes: Fixes #3692 #### Special notes for your reviewer: #### Does this PR introduce a user-facing change? ```release-note 避免 Console 端出现翻译提示 ```
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area/console
Issues or PRs related to the Halo Console
kind/improvement
Categorizes issue or PR as related to a improvement.
你当前使用的版本
2.4.1
描述一下此特性
部分浏览器的翻译对英文页面自动显示翻译弹窗,但有时候该页面完全是中文的也会显示,似乎只是判断网站环境变量是什么,所以希望提供简单的语言设置,容器默认为en_US。可以修改为zh_CN就可以了,只跳过浏览器的判断,和网站的具体页面语言无关。
附加信息
No response
The text was updated successfully, but these errors were encountered: