How to disable google translate from html in chrome

twinlakes picture twinlakes · Sep 2, 2012 · Viewed 74.7k times · Source

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

Answer

Matthew Adams picture Matthew Adams · Sep 2, 2012

New Answer

Add translate="no" to your <html> tag, like so:

<html translate="no">

MDN Reference


Old Answer

(This should still work but is less desirable because it is Google-specific, and there are other translation services out there.)

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

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

Documentation reference