I cloned a project today and it turns out that the translation page
that comes
with the browser always pops up by default. I
always thought it was set by js.
In the end, I found out that this is a basic setting. It
lies in the lang attribute of the html tag.
If en is set here,
it will start every time. They all pop up.
Just change it to lang=zh-CN
and run it again and it will stop popping up again.
The front-end solves the problem that page access always automatically pops up the browser's translation of this page.
Guess you like
Origin blog.csdn.net/weixin_45966674/article/details/133038630
Ranking