chinaej18 / google-api-translate-java

Automatically exported from code.google.com/p/google-api-translate-java
0 stars 0 forks source link

Suspected Terms of Service Abuse #110

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using Google api for translating my XML from one language to another.
I am breaking xml into tokens of elements and value and calling the api for 
translation and then merging back the translated values.
What steps will reproduce the problem?
1. Translation for Huge XML results in following error :

Google returned the following error: [403]
Suspected Terms of Service Abuse. Please see http://code.google.com/apis/errors
java.lang.Exception: Google returned the following error: [403] Suspected Terms 
of Service Abuse

What is the expected output? What do you see instead?
Is there any restriction on passing the data during a single execution of 
program.

What version of the product are you using? On what operating system?
google-api-translate-java-0[1].92.jar

Please provide any additional information below.
Please let me know if you want further information from my end. I am attaching 
the xml for which i am doing the translation

Original issue reported on code.google.com by nagpalma...@gmail.com on 10 Nov 2010 at 1:00

Attachments:

GoogleCodeExporter commented 8 years ago
I believe there is a limit to the number of characters you can submit at a time 
(5000 characters?) Also a limit per day if not mistaken. Probably better of 
sending only the data that needs to be translated.

Original comment by kmurrays...@gmail.com on 13 Nov 2010 at 12:02

GoogleCodeExporter commented 8 years ago
Thanks for the reply.
Can this restrictions be overcome if we register for api key.

Original comment by nagpalma...@gmail.com on 13 Nov 2010 at 10:19

GoogleCodeExporter commented 8 years ago
Maybe. There's instructions on where to find the latest version of 
google-translate-api-java with support for setting the API key here:

http://code.google.com/p/google-api-translate-java/issues/detail?id=112#c2

Original comment by rich.mid...@gmail.com on 13 Dec 2010 at 8:49

GoogleCodeExporter commented 8 years ago

Original comment by rich.mid...@gmail.com on 5 Nov 2011 at 5:24