PHP Classes
elePHPant
Icontem

Translator Class: Translate text between idioms using Google

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-05-24 (12 years ago) RSS 2.0 feedStarStarStar 57%Total: 3,014 This week: 1All time: 1,167 This week: 1,047Up
Version License Categories
translator 1.0.0GNU Lesser Genera...Localization, Web services
Description Author

This is a simple class that is meant to translate text between idioms using Google language translation services.

The class takes the text to be translated, its idiom and the idiom into which it is intended to obtain a translation. Then the class submits the translation request to the Google translation Web page. The result page is parsed to extract the translated text.

The translation service supports at English, German, Spanish, French, Italian and Portuguese.

Picture of Israel de Souza Rocha
Name: Israel de Souza Rocha <contact>
Classes: 3 packages by
Country: Brazil Brazil

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example Example to use
Plain text file translator.class.php Class The main project class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,014
This week:1
All time:1,167
This week:1,047Up
User Ratings User Comments (1)
 All time
Utility:82%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1434