Hello Jeremy,

Thank You for that quick reply...


On Thu, May 12, 2011 at 7:06 PM, Jeremy Geerdes <jrgeer...@gmail.com> wrote:

> Unfortunately, it is extremely difficult to figure out what exactly is
> going on without a few more details about how you're using and calling the
> API. That said, you have provided enough information for me to guess that
> you're using the Translate API v1. In general, with v1, the error that
> you're seeing generally comes when you've sent too many requests and
> triggered the throttling mechanisms. I believe, however, that it may also
> appear if you do not include the HTTP_REFERER header from a non-browser
> client. You will definitely want to check that out.
>
> Yeah, my details as follow:
      I am not using any browser related applications. Instead, I am trying
to translate using the command line operations. With this, I found out
"Tranny" as one of the translators which helps to translate using command
line.
This is where I found the documentation and the downloadable version of
translator.
http://code.google.com/p/tranny/

Well, to be more specific, I have a many documents which are written in
different languages and I want to translate into English Language. For this
when I try to use "Tranny", I found this error...

As you said, it might be because I am trying to send too many requests in
the form of small strings of my document. But I have got no choice but to
send many requests so that the document gets translated. Well, it would be
of great help if you can suggest me with some solution to this issue.



> That said, if the issue is one of too many requests, you can mitigate the
> situation to an extent by including the key, as you have proposed. In that
> case, where you put the API key depends on how you're utilizing the API. If
> you're using it via the Javascript API, you include the key as a parameter
> of the jsapi loader, as below:
>
> <script type="text/javascript" src="http://www.google.com/jsapi?key=
> <YOUR_KEY_HERE>"></script>
>
> If, however, you're using the API RESTful endpoints (i.e., from anything
> other than the Javascript API), you need to include it as a parameter in the
> url of any request you send to the endpoint, as below:
>
> url = "
> http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&key=<YOUR_KEY_HERE>&q=hello,
> world..."
>
> As I said, if none of the above solves the problem, then please don't
> hesitate to post back. Just remember that we'll need more details. I would
> suggest one of two things. If you're using the Javascript API, post a link
> to your page, regardless of whether it's working or not. That way we can see
> what's going on in context. If you're not using the Javascript API or
> posting a link is absolutely impossible, then copy the relevant code to a
> pasting service and post the link to that.
>

Internally, when I tried to debug "tranny", I found it was used JSON module
in Perl. But nowhere I could find any information where I could put the key
information.



>
> Jeremy R. Geerdes
> Generally Cool Guy
> Des Moines, IA
>
> For more information or a project quote:
> jrgeer...@gmail.com
>
> If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan
> Church!
>
>

-- 
Regards,
Sameer Rao.

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to google-ajax-search-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-ajax-search-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to