First of all, why would you ever need this? Well for example if I am using Google translate to translate an entire page, but I have one paragraph of this page translated by a human. If I don’t tell Google to ignore that paragraph, it will take my perfect human translation and convert it to a mediocre machine translation. Not desireable.
How to Disable
To disable Google Translate from translating a specific portion of a website, whether it is a page, div, paragraph or span use the following built in class.
<span class="notranslate"> This text will not be translated. </span>
I have found the span class to be the most useful. It will also work for the following.
<h1> This text will translate <span class="”notranslate”">This text will not translate. </span> </h1>
<p class="”notranslate”">This paragraph will not translate.</p>
<div class="”notranslate”">This content block will not translate.</div>
If you don't believe me (for whatever reason) and want to test this, open up this page in Google Chrome and translate the page into another language. Everything on the page will be translated except this paragraph.