On my other computer I had a bookmarklet for translating the current selection with google's translate utility, but lost it. Here it is, so I always have it. Now you can too. Here it is in code:
javascript:langpair="fr|en";e=""+(window.getSelection?window.getSelection():document.getselection?document.getSelection():document.selection.createRange().text);if(!e)e=prompt("enter%20text%20to%20translate","");if(e!=null)void(window.open("http://google.com/translate_t?langpair="+langpair+"&text="+escape(e),"translate","scrollbars=1,resizablel=1,width=500,height=500"))
Just copy it to your bookmarks and change the langpair variable to suit your language needs. You can find the right values in the <select name=langpair> on the translate page.
← CNN.com - First Stop, Iraq - Mar. 24, 2003 | Gimp-Savvy.com - Learn the GIMP - Tutorials and Resources →