PHP Classes

PHP Google Translate String: Translate words using Google Translate

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
StarStarStarStar 63%Total: 1,634 All time: 2,412 This week: 87Up
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: 37
All time rank: 1287192 in United States United States
Week rank: 258 Up30 in United States United States Up

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

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
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,634
This week:0
All time:2,412
This week:87Up
User Ratings User Comments (4)
 All time
Utility:92%StarStarStarStarStar
Consistency:78%StarStarStarStar
Documentation:-
Examples:89%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:846
 
good class
6 years ago (Adi Scsi)
70%StarStarStarStar
good and bravo
11 years ago (Ersun Özer)
70%StarStarStarStar
Hi, there is a mistake in line 106 in the "class_translate.
11 years ago (Enrico Hartwig)
65%StarStarStarStar
good function, it work
11 years ago (Mahendura)
67%StarStarStarStar