api-google-translate is a class that can be used to translate text using the Google Translate API. This class is written by Jamie Telin from Sweden.

It sends an HTTP request to Google Translate API Web server passing the text to be translated and the original and target languages pair.

The class decode the JSON response returned by the server and returns the translated text.

Version: 1.1
Required PHP version: 4.1

This class can be downloaded either from phpclass/org or here (2kb). The package is including the codes of countries

No comments: