News Feed
Jobs Feed
Sections




News Archive
Sameer Borate's Blog:
Google Translation PHP wrapper v1.7
June 24, 2010 @ 10:17:18

Sameer Borate has posted an update to his Google Translation wrapper library that increases the translation limit to above the 5000 character max Google enforces.

If the text length is more than 5000 characters it is split into discrete chunks and translated individually, returning the complete translated text at the end. Now you can easily translate whole pages of content.

He includes a code snippet showing how it can be used to translate a whole page easily via a file_get_contents call to pull in the requested page and translate it from French to English.

0 comments voice your opinion now!
google translate library wrapper


blog comments powered by Disqus

Similar Posts

Michael Kimsal's Blog: PHP4 -> PHP5 XML Wrapper

PHPBuilder.com: Using the ADOdb library with Oracle and PHP

Dave Marshall's Blog: Landing a PHP job Part 1: Technical Knowledge and Skills

Martynas Jusevicius' Blog: Reading Excel files with PHP

Sherif Ramadan: Web Analytics with PHP and Google Visualization: Made Simple


Community Events











Don't see your event here?
Let us know!


zendframework2 phpunit language application podcast release series functional composer testing example unittest code community introduction framework api interview opinion development

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework