News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

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

Elizabeth Smith's Blog: Compiling PHP5.2 on Windows with .Net toolchain - is it even possible?

Smarx.com: PHP for Microsoft AJAX Library

PHPClasses.org: PHP Professionals Directory Widgets

Stubbles Blog: State of annotations in the PHP world

Simon Holywell: Idiorm and Paris 1.3.0 released - the minimalist ORM and fluent query builder for PH


Community Events

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


conference laravel5 laravel wordpress interview library voicesoftheelephpant series development framework extension release language podcast middleware api introduction unittest community opinion

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