Site logo

Archived topic

How do I prevent Google from translating my website?

9 replies · Started by Philippe on December 15, 2018

Viewing posts 1–10 of 10

Hi,

It seems the code to use is <meta name="google" content="notranslate" />. Where should I put it so that no existing or future page or post can be translated by Google?

Thank you for your help!

Hi there,

Where did you get the code from? Did it provide any instructions on where to add it?

Let me know :)

I got it from a forum where someone had the exact same request I have: https://moodle.org/mod/forum/discuss.php?d=347476

The suggested solution there is exactly: "You need to add a meta tag to your site's page header:<meta name="google" content="notranslate" />" I personally have never been able to find a "page header" in Wordpress... :(

You can try adding that code in the wp_head hook using a Hook Element.

Hi,

I created the hook but Google is still proposing to translate the website (and does if you click on the option). Apparently, the following code is not what has to be used:

<head>
<meta name=”google” content=”notranslate”/>
</head>

Any idea?

Thanks again.

Hi there,

looks like the markup is incorrect, copy and paste the following instead:

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

Thank you. I'll let you know.

You're welcome. I have read that this works for some and not for others.

It seems to be working. :)

Awesome. Glad to be of help

This archived topic is closed to new replies.