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:
Microsoft Bing Translation PHP wrapper
September 07, 2011 @ 09:43:25

In a new post to his blog today Sameer Borate spotlights a translation wrapper for Bing that lets you easily use their API to translate text or determine what language the given text is in.

Microsoft Language translation is an interesting service. Not only can you do language translation, you can also detect the language of a particular text. The given class provides a PHP wrapper which will help developers translate text from one language to another in a easy manner. The library also supports caching, helping you keep your translations fast and simple.

His translation library requires an AppId for configuration and cURL to handle the messaging back and forth. Translation is as easy as calling "translate()" on a string, language fetching with "LanguageNames()" and even converting the text to speech with the "speak()" method.

2 comments voice your opinion now!
bing translation wrapper appid api language


blog comments powered by Disqus

Similar Posts

Joshua Thijssen: Throttle your API calls: RateLimitBundle

Ben Ramsey: Introducing Array_column() in PHP 5.5

Lorna Mitchell's Blog: PHP REST Server (Part 1 of 3)

NETTUTS.com: How to Create a Mashup by Combining 3 Different APIs

Zend Developer Zone: PHP Abstract Podcast Episode 18: Davey's API Rant


Community Events





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


update release language interview tool introduction security composer podcast series symfony install library framework opinion laravel voicesoftheelephpant community version package

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