搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

google translate elements failure

  • 9 个回答
  • 2 人有此问题
  • 6 次查看
  • 最后回复者为 nedman47

more options

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.

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.

所有回复 (9)

more options

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.

more options

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.

http://copnt13.cop.ufl.edu/ned/translate.htm

more options

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.

more options

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.

more options

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.

more options

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于修改

more options

the above script fails the same way. there is a delay of several seconds then the pick list appears empty.

more options

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

more options

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.