Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/google-chrome/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Html 如何在chrome中不显示翻译请求_Html_Google Chrome - Fatal编程技术网

Html 如何在chrome中不显示翻译请求

Html 如何在chrome中不显示翻译请求,html,google-chrome,Html,Google Chrome,当网站语言与用户的本地语言不同时,chrome会向用户发送翻译请求。我的问题是,如何将应用程序语言设置为多种语言,以便chrome无法识别它来发出请求 我试图在index.html文件中将“lang”添加到html主体标记中 <body lang="de"> 但是没有任何变化供将来参考 将language属性添加到html标记中,如下所示: <html lang="de"> 我想试试这个:我在html标签中添加了treid

当网站语言与用户的本地语言不同时,chrome会向用户发送翻译请求。我的问题是,如何将应用程序语言设置为多种语言,以便chrome无法识别它来发出请求

我试图在
index.html
文件中将“lang”添加到html主体标记中

 <body lang="de">


但是没有任何变化

供将来参考

将language属性添加到
html标记中,如下所示:

<html lang="de">

我想试试这个:
我在html标签中添加了treid,但是使用了
lang=“de”
,效果很好,谢谢