views:

1294

answers:

1

How can I stop Google Toolbar offering to translate my web app?

I've tried adding this tag to the top of every page:

<META HTTP-EQUIV="Content-Language" CONTENT="en-GB">

but it makes no difference.

I'm developing a web app in ASP.NET which displays a lot of data from various languages - things like names, locations, etc. If the user has Google Toolbar, it recognises the page variously as Italian, Spanish, etc, depending on exactly which data items they are looking at, and pops up a prompt offering to translate it.

The translation would make no sense in this context since the words which it is recognising are names and so on which are only relevant in the original language.

This is the prompt I'm talking about:google toolbar translation


EDIT: As a user, you can disable this feature entirely: http://www.google.com/support/toolbar/bin/answer.py?hl=en&amp;answer=146786 But there doesn't seem to be any way to mark a page as not suitable for translation by the toolbar.

+2  A: 
<meta name="google" value="notranslate">

from Google FAQ. Not sure if this works for the toolbar, though...

Kimvais
Good find - and very interesting. But it doesn't work. I've just tried the meta tag, and also the class names, and it has no effect. I guess it only affects the main web search not the toolbar.
Colin Pickard
:( If your toolbar is up-to-date, I think you should tell google that it's broken - they should obey there too ;)
Kimvais
I tried updating my toolbar, but I was already using the latest. I guess I will try to file a bug!
Colin Pickard