How to disable Google translate from HTML in Chrome
New Answer
Add translate="no"
to your <html>
tag, like so:
<html translate="no">
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">
So for the ultimate solution I made;
<!DOCTYPE html><html lang="en" class="notranslate" translate="no"><head> <meta name="google" content="notranslate" /></head><body>...</body></html>
This worked for me.
The meta tag in the <head>
didn't work for me, but
class="notranslate"
added to a parent div
(or even <body>
) did work and allows more precise control of the content you don't want to be translated.