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,012 All time: 1,161 This week: 923Up
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
Age: 32
All time rank: 36531 in Brazil Brazil
Week rank: 756 Down58 in Brazil Brazil Down

  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,012
This week:0
All time:1,161
This week:923Up
User Ratings User Comments (1)
 All time
Utility:82%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1198