How to prevent translating page title using google translate tool

796 views
Skip to first unread message

Calvin

unread,
Dec 27, 2012, 1:17:32 AM12/27/12
to google-tra...@googlegroups.com
Hi Google expert,

I want to exclude page title for translation.

<title> </title>

What should I do for this feature?

Thanks,
Calvin

João Martins

unread,
Jan 2, 2013, 4:47:06 AM1/2/13
to google-tra...@googlegroups.com
You can use the following HTML tag <span class="e;notranslate"e;> </span>. Note that this functionality requires the source text to be submitted in HTML.

https://developers.google.com/translate/v2/faq#technical

charle...@sfmta.com

unread,
Jan 2, 2013, 3:02:14 PM1/2/13
to google-tra...@googlegroups.com
I'm wondering whether there's a typo in there. I can't imaging the two occurrences of "e;" validating.

Calvin

unread,
Jan 2, 2013, 8:43:47 PM1/2/13
to google-tra...@googlegroups.com
Thanks.

Alexander Platonchev

unread,
Oct 8, 2013, 11:56:30 AM10/8/13
to google-tra...@googlegroups.com
This is typo.

Correct:

<span class="notranslate">something text</span>

<div class="notranslate">something text</div>


And even this is correct:

<div class="myclass notranslate">something text</div>
Reply all
Reply to author
Forward
0 new messages