Search code examples
google-chromegoogle-translatelang

Chrome doesn't recognize the language of the site


We're trying to enable Chrome's translation prompt in El Espectador site.

Here's how the prompt appears in the address bar in sites like El Pais but not in our's.

Translation prompt in El Pais

We've tried setting the language of the site in several ways:

  • HTML tag: <html lang="es">
  • META tag: <meta name="language" content="spanish"/>
  • content-language header: site's header

Are we missing anything?


Solution

  • This is because El Espectador have the following tag:

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

    Remove it and it should work.