google translate elements failure
i am a web developer who was recently asked to add google translate elements to a website. as a test i created a one line web page 'this is a test' and added the google translate elements code snippet.
as is my usual policy, i tried it on as many different computers as i could, with both IE and FF. it always works with IE but fails about half the time with FF. when the failures occur, there are records in the error console and the language pick list is empty.
i tried disabling all add-ons. i tried running FF in safe mode. i tried uninstalling and reinstalling FF.
All Replies (9)
Most likely there is an error on the page. sometimes code isn't compatible across all web browsers. If the page viewable on the net? If it is if you can provide me with a link I might be able to help you out.
thanks for your reply.
i created a minimal web page that just has the google translate element snippet and 'this is a test' so it is not likely to be an error on the page. the errors seem to come from the javascript in google translate but it works on some FF and not others.
I seems errors that relate to CSS code that is grabbed from a Google server. Not much you can do about this unless Google has a fix. As far as it not loading I can't replicate it.
If my reply solves your problem, please click "Solved It" next to this reply when signed-in to the forum.
you may be missing my point which is that the page works on some FF but not others and that it always works on IE. that makes me think there are bugs in FF that i am trying to report.
Does it only work with specific versions of Firefox? Like i said before I'm seeing errors with the CSS code that the Google API provides.
I just spent a little time using the code that Google provides. It looks to me like it needs to be updated to support newer browsers.
Ryan modificouno o
the above script fails the same way. there is a delay of several seconds then the pick list appears empty.
I'm not seeing any errors here on Linux.
In Firefox 5 you can try to open the Web Console to see if there are connection (timeout) errors.
Are you using web developer extensions like Firebug that might get triggered by JavaScript errors?
Start Firefox in Diagnose Firefox issues using Troubleshoot Mode to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
- Don't make any changes on the Safe mode start window.
- https://support.mozilla.com/kb/Safe+Mode
- https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
I noticed that nobody could reproduce my errors and went back for a more systematic test. Google Translate only fails on FF when run over GotoMyPC.
Thanks to all who offered help.