Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Disable Chrome translation bar on my website

I have a chat website that is highly dynamic and when visiting it with Google Chrome, the translation bar appears offering to translate the site. While the translation of dynamic content works better than I'd have expected, it doesn't work well enough for my purpose and doesn't even make much sense in a chat.

Is there some hint I can put into my site so that visitors with Chrome would not see the translation bar?

like image 667
swij Avatar asked Aug 29 '11 10:08

swij


People also ask

Why does Google Translate keep popping up on my website?

By default, the Chrome browser displays the popup to translate the text on Web pages into the language you've set as default.

How do I stop HTML translation?

However, if you don't want a section of your webpage to be translated, just add "class=notranslate" to any HTML element to prevent that element from being translated. The question asked in the Google Webmaster Help is that he wants to allow Google to offer this but only for certain languages.


1 Answers

Insert this to the head section of your web page.

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

Source: Meta tag that Google understand - Search Console Help

like image 61
Bertrand Marron Avatar answered Sep 19 '22 05:09

Bertrand Marron