-
1 votesanswersviews
无法在未调用Looper.prepare()的线程内创建处理程序 - Google Translate [duplicate]
这个问题在这里已有答案: Can't create handler inside thread that has not called Looper.prepare() 20个答案 您好我正在尝试使用google translate api翻译字符串,当我单击按钮中的翻译时 . 当我作为AVD运行它运行正常,问题是当我尝试使用我的智能手机进行部署时,当我单击翻译按钮时,应用程序关闭并且我收到错... -
3 votesanswersviews
从Google翻译活动中返回翻译的文本
我开发了一个Android应用程序,它使用以下代码启动Google Translate Activity: ... Intent i = new Intent(); i.setAction(Intent.ACTION_VIEW); i.putExtra("key_text_input", "What time is it?"); i.putExtra(&qu... -
2 votesanswersviews
Google Chrome翻译页面不起作用
在谷歌浏览器中, Translate to English (或任何其他语言)功能正常,但突然间它停止工作 . 通过查看控制台,我在页面尝试翻译时看到错误消息: Failed to load resource: the server responded with a status of 403 () https://translate.googleapis.com/translate_a/t?an... -
0 votesanswersviews
如果点击另一个语言,GTranslate Wordpress会显示一种语言
在我的wordpress页面,印度尼西亚语和英语中,我有两种语言可供选择 . 条件是:默认语言是 English ,所以如果我单击印尼国旗,语言将更改为印度尼西亚语,英语标志为 hide ,反之亦然 . 来人帮帮我? -
0 votesanswersviews
如何在角度6中使用谷歌Transliterate?
我使用下面的代码 . 这在index.html中有效 <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> // Load the ... -
0 votesanswersviews
Google Translate模块在不同系统上抛出意外错误
我构建了一个非常简单的python应用程序,它从文本文档中读取单词并输出它们以及所需语言的翻译: from googletrans import Translator translator = Translator() filename = 'wordsToTranslate.txt' f = open(filename) data = f.read().splitlines() f.close(... -
-1 votesanswersviews
如何提高Google翻译API的费率限制?
我收到HTTP 403错误消息:“...返回”超过用户速率限制“> . 大约5K消息转换后 . 我有一个截止日期来完成此操作,论坛帖子没有得到Google支持的任何回复 . FAQ页面说明如下: 我调用API时收到HTTP 403错误 . 您可能超出了配额:每日可计费总额或每秒请求字符数限制 . 要查看或更改项目的使用限制,或要求增加配额,请在Cloud Platform Console中打... -
-2 votesanswersviews
谷歌翻译不起作用
它开始发生了几天 . 我无法点击翻译窗口上的任何标签 . 我的操作系统是Windows 10,我使用的是谷歌浏览器 - 版本66.0.3359.181(官方版本)(64位) . -
0 votesanswersviews
Python Google Translate API错误
我非常喜欢python,并试图使用谷歌API翻译一堆关键字 . 我有一个包含3000个关键字的excel文件,其中包括英语,西班牙语,德语等 . 试图将所有内容翻译成英语 . 但是,每次运行我的代码时,都会得到不同值的错误 . 有时,我的代码在第810个关键字时会出错,而有时会在1038关键字时出错 . 我甚至没有编辑文件的布局 . JSONDecodeError: Expecting value...