Google seems to have updated their language tools. Not only do they support bookmarks now, but they also added a whole bunch of scriptlets to make translations from any web page far easier.

You can play around in the language tools section of google to find the gems, or you watch this demo to vicariously see it in action:

The one thing Google translate doesn’t do, however, is show you how to pronounce the characters / words. To solve this (for myself anyway) I put together this little scriptlet that will query Dict.cn.

The following scriptlet will work just like the ones in the movie. Just drag the link below to your bookmark bar, highlight any word on the page (English or Chinese), and then click the link. Sha-bang, you have the Simplified Mandarin equivalent and how to pronounce it. Slick.

Dict.cn Scriptlet. Drag the link following to your bookmark bar.

(My Dict.cn scriptlet has only been tested on Firefox and Safari on Mac.)

Update: as one might expect, the dict.cn script works on Firefox Windows and Firefox Linux. It does not work on Internet Explorer however. If you want to use it in IE, you are free to tweak the code. It’s just two lines:

javascript:x=getSelection();window.location='http://dict.cn/search/?q='+x;