Login   Register  
PHP Classes
elePHPant
Icontem

Translate: Translate text using the Google AJAX API

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-02-08 (5 years ago) RSS 2.0 feedStarStarStarStar 65%Total: 1,458 This week: 1All time: 2,466 This week: 1,504Up
Version License PHP version Categories  
translate 1.0GNU General Public Lice...5.0Localization, PHP 5, Web services
Description Author  

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

It accesses Google AJAX Web services API server to request the translation of a given text between to supported idioms.

The class parses the response returned in JSON format and stores the results in class variables.

Picture of Peter Schmalfeldt
Name: Peter Schmalfeldt <contact>
Classes: 3 packages by
Country: United States United States
Age: 36
All time rank: 850110 in United States United States
Week rank: 780 Up76 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file class_Translate.php Class Translate Class
Accessible without login Plain text file index.php Example Example. Make sure your HTML has content-type utf-8 encoding.

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,458All time:2,466
 This week:1This week:1,504Up
User Ratings User Comments (1)  
 All time
Utility:91%StarStarStarStarStar
Consistency:100%StarStarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:65%StarStarStarStar
Rank:438
 
Nift and simple to use.
5 years ago (F Philip DeGeorge)
57%StarStarStar