How can I prevent Google mistakenly offering to translate a page?
Posted
by
DisgruntledGoat
on Pro Webmasters
See other posts from Pro Webmasters
or by DisgruntledGoat
Published on 2010-11-04T20:23:49Z
Indexed on
2012/06/20
21:26 UTC
Read the original article
Hit count: 307
Several of my site's pages are appearing in search results with [Translate this page]
next to it. When I click that it takes me to Google Translate and translates my page "from Catalan to English".
The pages are in English but have a couple of foreign words (actually Japanese romanisations, not Catalan) that appear to be tripping Google up.
A few weeks ago I set the html tag to <html lang="en">
which from research appears to be the best method to specify the language of a document. Google has cached the pages with this attribute but it is still offering to translate.
More research led me to a "notranslate" attribute which prevents translation entirely: <html lang="en" class="notranslate">
. The problem now is users cannot translate from English to their desired language!
Are there any other solutions that force Google to parse my site as English only?
© Pro Webmasters or respective owner