I’ve been experimenting with google translate api v2 but I couldn’t get it working.
this is the current code i have: http://juzcode.com/z.html (just visit the page and view source)
I can use google translate api v1 though: http://juzcode.com/y.html
Does anyone know why google is rejecting my request in the page http://juzcode.com/z.html?
API v2 uses a different system for generating and validating keys, so you need to get a new key. Go to http://code.google.com/apis/console/ and sign up for one.
If you want an easier way of testing this, you can go to the URL directly. So if I go to https://www.googleapis.com/language/translate/v2?q=hello%20world&source=en&target=de&key=(my key>), I get the following: