Script Summary: Translates text on web sites to your desired language using Google Language AJAX API using a greasemonkey userscript command.
This is a simple userscript that can be used for translation on any web site.
It takes advantage of the Google Language AJAX APIs to detect and translate a selected text on the page to your desired language (english by default).
It registers a Greasemonkey UserScript Command which can be accessed by the greasemonkey menu.
Usage: Select the text on the page that you wish to translate, click on the greasemonkey userscript commands menu and click on translate. It will then translate the text if it was able to identify the language in a moment and replace the selected text with the translated text.
18 Nov '2008 v0.1.2
* Fixed problem of conversion of html special characters such as ", ' into html codes such as "& quot ;"
17 Nov '2008 v0.1.1
* Fixed problem of replacement where the entire text contained in the parent node of the text was being replaced by the translated text instead of just the replaced text.