I went to the page
   http://translate.google.com/translate_tools?hl=en&layout=1&eotf=1
and tried to use the snippet on my page.  Showed nothing in firefox.
Did not try another browser.

Then I looked at the snippet.  It has a non-enclosing (i.e. empty)
<div> tag, and it has no "type" on its script.  I added these and now
it works.  I am no expert on HTML, but I looked at the www.w3schools.com
pages and got the impression that my changes made sense.  Note that I
may have misunderstood what I was seeing.  Also 
http://translate.google.com/support/
was giving 404 Not Found, so I could not get help that way.

Here is the snippet that works for me:

<div id="google_translate_element">
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'en'
}, 'google_translate_element');
}
</script>
<script
src="http://translate.google.com/translate_a/element.js?
cb=googleTranslateElementInit">
</script>
</div>

-- 
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