Wednesday, August 24, 2011

Translating Google+ Posts

I've noticed a few people complaining that it's a pain to translate posts they see in Google+. I made a modified version of the Google Translate Bookmarklet that you can use. Drag this link to your browser bar, highlight a block of text and click the bookmarklet. It will open a new window to a translate page auto-detecting the language and translated into English. If you'd like another language you can tweak the parameter in the url in the bookmarklet.

Full contents of the bookmarklet for easier reading:

javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){window.open('http://translate.google.com/?text='+t+'&hl=en&langpair=auto|en&tbb=1&ie='+e);}

Update: There's now an official extension that works on individual posts.

2 comments:

Peter Brown said...

Wow, so you work at Google? I know, you don’t have any influence over the results (well, not directly) but I’ve started a new blog and plan to advertise to make some money off of it! It’d be really helpful if you could mention me in your blog or maybe exchange a link too, that’s how Page Rank works right? My Web site’s address is www.peppipizza.com. Thanks!

ExecSpot said...

Thanks for the post. What's you're opinion on Google Penguin? Do you think it will effect all websites?

Cheers