PHP Classes

PHP Website Multi Language: Translate application texts using Google Translate

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (7)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 3,655 This week: 1All time: 906 This week: 560Up
Version License PHP version Categories
multi-language-sites 1BSD License3.0Localization, Web services, Code Gene...
Description 

Author

This class can be used to translate application texts using Google Translate.

It can take a script with an array of texts in English and sends requests to the Google Translate Web site to translate each of the texts to another idiom.

The class generates a new script for the target language with an array with the texts translated to that language.

Innovation Award
PHP Programming Innovation award nominee
November 2009
Number 2


Prize: One subscription to the PDF edition of the PHP Architect magazine
To adapt an application to work with multiple idioms, it is necessary to translate the application texts to each of the supported idioms.

This class makes it easier to adapt applications to multiple idioms by using Google translate site to translate the original application text to each of the supported languages.

This way it generates what can be the first version of the internationalized application scripts.

Manuel Lemos
Picture of Sandeep Kumar
Name: Sandeep Kumar <contact>
Classes: 7 packages by
Country: India India
Age: 40
All time rank: 1508 in India India
Week rank: 411 Down26 in India India Down
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file en.php Conf. Data array in english language
Accessible without login Plain text file index.php Example Example File
Plain text file langconvert.php Class Language Converor Class
Plain text file readHtml.php Class Support Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:3,655
This week:1
All time:906
This week:560Up
User Ratings User Comments (3)
 All time
Utility:75%StarStarStarStar
Consistency:65%StarStarStarStar
Documentation:-
Examples:67%StarStarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:2605
 
Script Does not work.
12 years ago (Ailia Shahid)
0%Star
Congratulation!
14 years ago (Pali)
70%StarStarStarStar
You use both php4 and php5 standards.
14 years ago (Ludovic Bellière)
47%StarStarStar