PHP Classes

PHP Google Translate String: Translate words using Google Translate

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 67%Total: 1,627 All time: 2,417 This week: 132Up
Version License PHP version Categories
translate-string 1.0GNU General Publi...5Localization, PHP 5, Web services
Description 

Author

This class can translate words using Google Translate.

It can send a HTTP request to the Google Translate site to translate a given string between an origin language and target language.

The class retrieves the translation results page and extracts the translated string.

Picture of Popa
  Performance   Level  
Name: Popa <contact>
Classes: 3 packages by
Country: United States United States
Age: 35
All time rank: 1290190 in United States United States
Week rank: 398 Up50 in United States United States Up

  Files folder image Files  
File Role Description
Plain text file class_translate.php Class This is the core file of translate class
Accessible without login Plain text file example.php Example This is a demo

Downloadtranslate-string-2013-05-27.zip 1KB
Downloadtranslate-string-2013-05-27.tar.gz 1KB
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
cURL Download .zip .tar.gz becuase this downloads the translation file from google Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,627
This week:0
All time:2,417
This week:132Up
User Ratings User Comments (4)
 All time
Utility:100%StarStarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:95%StarStarStarStarStar
Tests:-
Videos:-
Overall:67%StarStarStarStar
Rank:586
 
good class
5 years ago (Adi Scsi)
70%StarStarStarStar
good and bravo
10 years ago (Ersun Özer)
70%StarStarStarStar
Hi, there is a mistake in line 106 in the "class_translate.
10 years ago (Enrico Hartwig)
65%StarStarStarStar
good function, it work
10 years ago (Mahendura)
67%StarStarStarStar