PHP Classes

Translator Class: Translate text between idioms using Google

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 57%Total: 3,024 All time: 1,215 This week: 524Up
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: 40
All time rank: 37630 in Brazil Brazil
Week rank: 197 Up16 in Brazil Brazil Up

  Files folder image Files (2)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,024
This week:0
All time:1,215
This week:524Up
User Ratings User Comments (1)
 All time
Utility:82%StarStarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:57%StarStarStar
Rank:1702