I've got a page where I want the stuff in <p> tags translated but
*not* the stuff in <a> tags.  So I added a class="notranslate" to the
<a> tags.  For experimentation, I also created a small block of text
with an embedded link (I tried it two ways):

        <span class="notranslate">this is a block of text in english.  it
should stay in english. here's <span class="notranslate"><a
href="http://www.ebrr.org";>a link</a></span> that should also stay in
english.</span>

        <span class="notranslate">this is a block of text in english.  it
should stay in english. here's <a class="notranslate" href="http://
www.ebrr.org">a link</a>  that should also stay in english.</span>

The text does stay in english, but google translate prepends its
translation magic to the href (so it ends up as
http://74.125.93.104/translate_c?hl=en&langpair=en%7Ces&u=http://www.ebrr.org/&client=tmpg&usg=ALkJrhgXoD6CBgJ1Kmfii88MEeKWA96qkw
instead of just the www.ebrr.org I started with).

Why is google translate correctly seeing, and applying, the
'notranslate' on the <span> but not on the <a>?

Anyone know if there's a way I can either get 'notranslate' to work as
advertised -or- to just specify things I *do* want translated and have
google translate ignore the rest?

Thanks.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Translate" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-translate?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to