Friday, March 28, 2008

Translate Twitter Greasemonkey and Bookmarklet

I create Translate Twitter Greasemonkey and Bookmarklet.
This script add "Translate!" link and language select pulldown on Twitter timeline.

The translate feature use Google AJAX Language API.

Greasemonkey:Translate Twitter
bookmarklet:Translate Twitter


Execute script on Twitter page, you can see "translate!" link in timeline area.
Script information and language select pulldown are at the top of sidebar area.


If you click the "translate!" linke, you can see translated words after the post.

The language is auto detected by Google API.But if the word is too short ,the language cannot be detected and show the error message.

If you want to translate with API unsupported translation pair, first the word is translated to English and the translated english word will be translated to the language you want to.



Enjoy!


2008.5.3 update
version 0.1.2
Update this script for a little design changes on Twitter web site.

4 comments:

Peter said...

Excellent, I'll need to try this . Thank you for posting on Blogoscoped Forum !!

taubstumbler said...

great script. had to to add https-twitter sites manually in greasemonkey but i guess this would be nice to have from the start.
thanks

Chris4403 said...

> taubstumbler
now I released new version which add https-twitter sites.
Please update the script from the link "latest version" on Twitter.com.

Psalm24 said...

I'm using the greasmonkey script. I can see the sidebar and the pulldown, but none of the tweets have a "translate" link. What am I doing wrong? :(