Any update on this?
On Apr 26, 4:23 pm, Jack Sparrow wrote:
> When I tried to dynamically load the google translation banner(during
> the page load or other page events), the google translation banner is
> getting displayed in IE & Firefox, but not in Chrome.
>
> Below is the script, which I used to dynamically load the banner
> through code
>
> <script>
> function googleTranslateElementInit() {
> new google.translate.TranslateElement({
> pageLanguage: 'auto'
> });
>
> }
>
> </script><script src="//translate.google.com/translate_a/element.js?
> cb=googleTranslateElementInit"></script>
>
> I tried several options, but all in vain. Some of the options, that I
> tried are below
> i) changed pageLanguage parameter to specific language. (e.g.
> pageLanguage: 'en')
> ii) set autoDisplay parameter as true
> iii) embedded the above script inside a javascript function and called
> the function
>
> Could you let me know, why it's not working in Chrome. Also, what are
> the options I have, to display the Google translation banner
> dynamically in Chrome, whenever a page event occurs.
--
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.