Google Releases Language Translation API

John Musser, March 20th, 2008

As of today, the powerful Google Translate service that lets you translate between 13 different languages and 29 language pairs is now available as a handy JavaScript-based API. Given the breadth of the engine it’s built on, it already supports languages including Russian, Korean, Arabic, Italian, Greek, French and Spanish. It’s a simple but powerful API, given the number of uses this can be put to. Our new Google Translate API profile has more technical details.

As their announcement makes clear, it’s a very easy to use API with two main functions: language detection and language translation. The language translate() function just needs a string to translate, the source and destination languages, and a callback function. The detect() function takes a block of text and a callback.

translateex.png

Since language detection is very hard problem and not always perfect, the API provides two useful properties of a true/falue value “isReliable” and a 0-1.0 “confidence” value which together give an indication of how certain the language detector is in each case.

For some ideas on what uses this can put to, check-out our listing of 7 translation-related mashups in our directory now. These include the mashup shown below, Universal Chat Translator for Skype (download here), a plug-in built on the Skype API that translates chats in real-time:

Note that the API documentation makes it clear there are more features coming before long: “We plan on adding more exciting capabilities to the AJAX Language API in the future, so stay tuned.”

Tags: Google

12 Responses to “Google Releases Language Translation API”

March 21st, 2008
at 7:40 am
Comment by: Renato

Are there any volume restrictions? could I translate one million words every day?

March 22nd, 2008
at 7:40 am
Comment by: dave

@Renato, I believe you can only translate 500 words per request. I posted about this here.

March 22nd, 2008
at 9:08 am
Comment by: John Musser

@Renato: Good question. I missed it first time around but as dave points out the terms of service say you you will not “submit any request exceeding 500 characters in length, to the translation components of the Service”.

March 23rd, 2008
at 3:50 am
Comment by: Google Releases Language Translation API | storyBOX.mobi

[...] More… addthis_url = ‘http%3A%2F%2Fstorybox.mobi%2F%3Fp%3D114′; addthis_title = ‘Google+Releases+Language+Translation+API’; addthis_pub = ”; If you liked this post, buy me a beer. (Suggested: $3 a beer or $7.5 for a pitcher) [...]

March 23rd, 2008
at 11:46 am
Comment by: MADBELLO » Blog Archive » Language Translation API

[...] blog.programmableweb.com [...]

April 1st, 2008
at 1:13 am
Comment by: Google’s New Visualization API

[...] has been a busy stretch for Google APIs: besides the recently released new AJAX Translation API this month, Google also launched the Google Visualization API, a JavaScript API which lets you access multiple [...]

May 18th, 2008
at 9:46 am
Comment by: Cutout

Google’s software will definitely have a problem with complex languages such as Chinese or Japanese because their words are not separated by spaces. They only show one possible translation when really you should be able to choose from multiple options. If you want to learn almost any language in the world, my site can help you.
http://www.google.co.jp/search?q=cutout+japanese+english+cutouttranslations&btnG=%E6%A4%9C%E7%B4%A2&hl=ja&lr=lang_ja&client=firefox-a&rls=org.mozilla%3Aja%3Aofficial&hs=k5L

May 22nd, 2008
at 3:53 am
Comment by: Other Greek blog-posts about Cornelius Castoriadis « OMADEON

[...] Google Releases Language Translation API [via Zemanta] [...]

May 27th, 2008
at 6:55 am
Comment by: Zemanta semantic plugin for non-English bloggers (Οδηγίες χρήσης του Zemanta για Ελληνικά blogs) « OMADEON

[...] it is possible to use clever and simple programming calls to Google’s new “translation API” to translate (almost any) blog-post into English temporarily generating semantic results [...]

June 9th, 2008
at 12:19 pm
Comment by: Οδηγίες Χρήσης του Semantic Plugin Zemanta (αυτή τη φορά για… ΜΗ-γνωρίζοντες αγγλικά)! « OMADEON

[...] και απλές προγραμματιστικές κλήσεις στην υπηρεσία API του Google για μετάφραση, για να μεταφράσουν (σχεδόν κάθε) [...]

September 21st, 2008
at 11:48 am
Comment by: Quick Online Translator

I have developed Free Online Translation Service page which use Google AJAX Language API. I also used Google AJAX Language API to translate the user interface of Online Translation Service to the following languages: English, Arabic, Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, Finnish, French, German, Greek, Hindi, Italian, Japanese, Korean, Norwegian, Polish, Portuguese, Romanian, Russian, Spanish, Swedish.

January 29th, 2010
at 8:02 am
Comment by: blake gont

Yes, the google do have issues with the complex languages.. we noway understand..

Leave a Reply

  1. (not published)

Mashery: The Premier API Management Solution
QualityLogic Web API Testing
Clickatell - Reliable SMS Gateway, Many APIsAnalytics and control for APIs and mashupsMashery:Netflix innovates by accessing the best developers. See how.Need API Documentation? Use SDK Bridge.

Become a ProgrammableWeb Sponsor

Follow PW on Twitter