News Feed

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

Sean Coates' Blog: PHP as a templating language

Jani Hartikainen's Blog: Base classes in OOP programming languages

Zend Developer Zone: Using the Digg API with PHP and PEAR

SitePoint PHP Blog: How to Create Your Own Twitter Widget in PHP, Part 2 Quick Caching With PHP Sessions

Community Events

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

install opinion package unittest podcast release api deployment language interview bugfix voicesoftheelephpant symfony framework library zendserver series introduction laravel community

All content copyright, 2014 :: - Powered by the Solar PHP Framework