Thursday, October 01, 2009 4:20 PM
Earlier this week, we added two functions to Google spreadsheets that add translation and language detection capabilities.- =GoogleTranslate("Hola, ¿cómo estás?","es","en") gives "Hi, how are you"
- =DetectLanguage("Hola, ¿cómo estás?") gives "es"
These functions open up some fun and interesting ways to use forms. For example, you could collect comments in many languages and use the two functions together to automatically translate responses into your native language.
If you hover over a cell with translated text, the original text is displayed.
If you want to try it out for yourself, check out this template. We're excited about the possibilities this opens up and we hope you enjoy translating your spreadsheets.

16 comments:
Great feature but it would be nice if you could reference a cell with text in it and have it translate. i.e. =GoogleTranslate("A4", "en", "es"). Same with the detect language function.
Of course you can, just remove the quotes on "A4"
Awesome functionality.
Diseño web| TuProgramador.com
this is a great idea for docs, but because I am a student of language, I would like to see a transliteration. Especially for non-latin based langages.
I tried the template but new entries through the form are not translated. How do we take care of that?
Brilliant!
Teachers are going to love these features!!
very useful feature...
@Willem Karssenberg; just open the spreadsheet, and copy the formula to the new form entries.
@Richard van Delft,
Of course I know, but I would like to have them filled automatically when there is a new entry through the form.
Then you could publish the results on the fly!
@Willem Karssenberg
The GoogleTranslate and DetectLanguage spreadsheet functions are not array expression enabled. This means that when you get submits in English in e.g. column B and want to translate them automatically to Dutch on sumbit, you can not use a formula like =ArrayFormula( GoogleTranslate( B2:B ; "en" ; "nl" ) )
This limitation takes a bit of the shine off these new functions. :(
Also note the DetectLanguage function appears to be flawed, there are already several posts about that in the Google Docs Help forum.
ok works but learned the hard way that language must be in quotes "ZH" and "EN". I translated 下载销售订单的各种信息 and this 修改SDOC form的Quantity的长度 to "Download sales order all kinds of information" and "Modify the length of SDOC form of the Quantity" using =googletranslate(A1,"ZH","EN") and =googletranslate(A2,"ZH","EN")
A practical application for me as I just started doing a lot of work with China. Thanks!
I just wanted to let the team know that I am creating a complete site with Google docs and I am pretty sure nobody has done this before. Please check Paper.io and let Sergei and Brin know :)
It would be really nice of google if you gave us the not in folder view back. I (and many, many other people) need this feature back! Doing anything on Google Docs without this feature takes much longer.
Hey that doesnt work on my Sheets? Why? Is there a limitation for German Users?
Great feature... I just want to encourage readers to visit http://mls.fastrealestate.net for similar features.
Post a Comment