How to develop Translate v2 on localhost?

738 views
Skip to first unread message

campari

unread,
Oct 7, 2011, 2:57:31 AM10/7/11
to Google AJAX APIs
Hi everyone,

is it possible to develop Googles Translate API v2 on localhost or vh
on my local machine?

I inserted my API-Key, but result of the given example from the
tutorial descriped at http://code.google.com/intl/de-DE/apis/language/translate/v2/getting_started.html:

// API callback
translateText({
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceeded",
"message": "Daily Limit Exceeded"
}
],
"code": 403,
"message": "Daily Limit Exceeded"
}
});


Thank you!

Jeremy Geerdes

unread,
Oct 7, 2011, 7:44:26 AM10/7/11
to google-ajax...@googlegroups.com

Are you using a v2 or v1 API key? The v1 keys have a signup that simply asks for your web url, and the v2 keys can be obtained only through the API Console at http://code.google.com/apis/console.

--
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...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
http://groups.google.com/group/google-ajax-search-api?hl=en_US
For more options, visit this group at
http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en

Adam Feldman

unread,
Oct 7, 2011, 12:27:26 PM10/7/11
to google-ajax...@googlegroups.com
Hi campari,

In order to use the Translate API v2, you need to first enable billing.  Then, you can go to the Quotas page in the APIs Console and set the daily limit that you'd like to have (it's set low by default since it's a paid API).  After doing that, you should be good to go.

Have you enabled billing?  Are you able to make *any* requests, or do you get that error message from the very first one?

Thanks,
Adam

Robert Joyce

unread,
Dec 2, 2011, 2:11:58 AM12/2/11
to google-ajax...@googlegroups.com
I'm getting the same problem.
All started happening when they turned OFF the free translate api.
I did as you asked, but no change.

Adam Feldman

unread,
Dec 2, 2011, 1:49:27 PM12/2/11
to google-ajax...@googlegroups.com
Hi Robert,

The global fix for this is being rolled out, so if you do nothing, the problem should go away within a few hours.  If you'd like to fix it faster, please follow the instructions I posted yesterday:

Note that this is unrelated to the questions that this thread was dealing with back in October.

Again, I'm terribly sorry for this hassle.  Thanks for your patience.

Adam

--
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...@googlegroups.com
To unsubscribe from this group, send email to
google-ajax-searc...@googlegroups.com
To view this message on the web, visit
Reply all
Reply to author
Forward
0 new messages