Hi guys,
I read that google translator should translate iframes that are in the
same domain of the parent page, but mine doesn't translate the frame
text, only the parent page.
Do I have to add something to the iframe to get it translated too ? I
searched everywhere but couldn't find a answer. Google online toolbar
translates everything (parent and iframe) ok, but the code they give
to us to translate pages doesn't translate everything. Here's the code
I'm using:
<div id="google_translate_element"></div><script>
function googleTranslateElementInit() {
new google.translate.TranslateElement({
pageLanguage: 'pt',
gaTrack: true,
gaId: 'UA-28932994-1',
layout: google.translate.TranslateElement.InlineLayout.SIMPLE
}, 'google_translate_element');
}
</script><script src="//translate.google.com/translate_a/element.js?
cb=googleTranslateElementInit"></script>
Any ideas?
Thanks a lot!
--
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.