Webpage language translation

Google provide some excellent tools for adding translation facilities to your website. They also provide browser tools so that you can quickly translate a page that you might be on.

With that in mind they’ve taken the appropriate step of adding facilities for web developers to override this.

For example, to stop translation on a section of your site add class="notranslate" to the appropriate tag, such as DIV or SPAN.

To prevent translation on an entire page, add the following to the <HEAD> section…

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

Posted by David Artiss

Enterprise Happiness Engineer for the WordPress VIP team at Automattic. Gamer, film lover and general fan of all things Marvel, Star Trek and Star Wars. Failed comedian. Writer for The Big Tech Question. World's Greatest Grandma.

Talk to me!

This site uses Akismet to reduce spam. Learn how your comment data is processed.