views:

753

answers:

4

I am using AJAX via jQuery, and I am trying to translate using the Google Translate Service.

The service does not seem to work for me.

What am I doing wrong? How would I go about using this in my web application?

A: 

What are some of the differences between your code and Google's example code?

Do the examples work for you?

Is it possible that you do not have a valid Google JavaScript API key?

Thomas L Holaday
+2  A: 

I think you are following the wrong strategy. You don't make AJAX calls to the Google Translate Service directly, the Google Translate Javascript API wraps this all for you.

Look at the examples in the API playground.

Franz
A: 

There is a plugin for jQuery that leverages the Google Translate API. It definately makes things easier and cleaner.

jquery-translate

Gh0sT
A: 

Just remove the key and see if it will work for you

lordspace