Translating text inside an iframe from the same domain
Hi guys,
I'm new to this forum! =)
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');
}
Google translate USED TO BE FREE, but now they are charging for this, so working translators that relied upon the Google Translate API do not work now.
I hate when those #$%^&#**#*#*# do that!
I had built a few translation sites with great functionality relying upon their open API, and now none of them work and I need to do them all over again using the BING translation API!!!!
Bookmarks