Hi Adam,

That blog is using Javascript to format the code on the page.  Since
our translation is applied to the raw HTML, we don't realize that is
code, and thus we translate it.  When we translate we add some HTML
tags to allow for the original text popup on mouse-over.  The
Javascript that is formatting that as <code> is picking up the HTML
tags we add and rendering them strangely.

If this is your site, I would recommend wrapping your code in proper
<code> tags in the HTML.  Then Google Translate will not try to
translate it at all, and then hopefully your JS which formats it all
pretty can still run on it without having Translate HTML in the way.

Best,
Josh

Adam Hill wrote:
> http://mravinale.wordpress.com/2010/08/16/reactive-extensions-en-silverlightrx/
> from Spanish to English
>
> Will show the code blocks as HTML, not code.
>
> Adam

-- 
You received this message because you are subscribed to the Google Groups 
"General" 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-general?hl=en.

Reply via email to