Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I Google Translate such that all desired texts are left untranslated?

For example, when translating “Have you tried the Clipboard History window” to Hindi, the “Clipboard History Window” is translated to Hindi instead of being left as it is, as it is a technical term.

I have tried <span class=notranslate> but as it should be, it is valid only in HTML.

share|improve this question
How about removing the respective text from the translation? Or replacing it with something generic? – Alex Dec 2 '13 at 12:18
@Alex great idea. Thanks – Avi Dec 3 '13 at 9:58
up vote 0 down vote accepted

I don't think there's any special tag or character to insert to keep the text untranslated in Google's Translate form.

But since you are willing to manually add tags to keep your text untranslated, a trick is to prefix each word that you want to keep untranslated with a random string, for example "KEEP".

So Have you tried the KEEPClipboard KEEPHistory KEEPwindow will be translated to आप KEEPClipboard KEEPHistory KEEPwindow की कोशिश की and then with a text editor replace all "KEEP" with an empty string.

Definitely not the best work around, but there you go :)

share|improve this answer
That will do. I needed this in the program and so managing prefixed words and replacing them back wont be trouble. – Avi Dec 3 '13 at 9:59

I found the answer, for anyone else who might be looking. You just add the class "notranslate" to your element and Google Translate will leave it untranslated.

Ref: support.google.com/translate/?hl=en#2641276

share|improve this answer
The page you reference doesn't seem to have that information. Do you have an updated source? – Al E. Oct 1 '15 at 0:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.