PHP Classes

Google Translate API: Translate text using the Google Translate API

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 2,900 All time: 1,292 This week: 524Up
Version License PHP version Categories
api-google-translate 1.1GNU Lesser Genera...4.1Localization, Web services
Description 

Author

This class can be used to translate text between idioms using the Google Translate API.

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.

Picture of Jamie Telin
Name: Jamie Telin <contact>
Classes: 5 packages by
Country: Sweden Sweden
Age: 39
All time rank: 6065 in Sweden Sweden
Week rank: 305 Up2 in Sweden Sweden Up

  Files folder image Files  
File Role Description
Plain text file api_googletranslate.class.php Class The class file.
Accessible without login Plain text file google_translate_country_codes.txt Doc. Country codes to all languages

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,900
This week:0
All time:1,292
This week:524Up
 User Ratings  
 
 All time
Utility:66%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:62%StarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3271