While building my web-app for adding and learning new words vocEverywhere I've decided to integrate some freely available translator API so that in most case you won't need to use separate translator (in browser tab or as an app) first and the copy-paste the results to vocEverywhere.
Doing a bit of googling I came across quite a big list with variety of translation APIs available -
http://www.programmableweb.com/news/63-translation-apis-bing-google-translate-and-google-ajax-language/2013/01/15
Some API's, such as Google Translator API have payed access from the beginning. Others are free if you utilize below some limit or requests:
- Yandex translate API - 40 languages
- Yamli - specific for Arabic-Latin translation
- Cloudwords
- Microsoft translator API - free up to 2M characters
There are also related services and integrations available:
- JSON synonym API (with a fancy favicon O_o )
- localizejs has bunch of detailed guides for implementing in popular frontend frameworks
- cloudwords does it on higher level, as plugins for popular platforms/CMSs
So I choose Yandex Translate API, which has one basic method I needed- translate(params)
https://translate.yandex.net/api/v1.5/tr.json/translate?key=APIkey&lang=en-ru&text=To+be,+or+not+to+be
No comments:
Post a Comment