如何在Chrome中禁用HTML翻译 [英] How to disable google translate from html in chrome

查看:1150
本文介绍了如何在Chrome中禁用HTML翻译的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚做了一家法式餐厅的网站。该网站是英文网站,但我想网站上有足够的法文(标记为菜单项的图片),以提示访问者在使用Chrome浏览器时翻译网站。



有什么我可以添加到HTML以防止铬要求翻译网页?我假设它是类似于< html lang =en> 但不起作用。



有什么想法?



谢谢 这个标签位于< head> < / head> 之间:

 < meta name =googlecontent =notranslate> 

文档参考资料


I just made a website for a french restaurant. The website is in english, but I guess there is enough french on the website (labeled pictures of menu items) to prompt the visitor to translate the website if using Chrome.

Is there something I can add to the html to prevent chrome from asking to translate the page? I'd assume it'd be something like <html lang="en"> but that doesn't work.

Any ideas?

Thanks

解决方案

Add this tag in between <head> and </head>:

<meta name="google" content="notranslate">

Documentation reference

这篇关于如何在Chrome中禁用HTML翻译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆