javascript:function x(){loc=location.href; lang='ru'; flag=true;text = ''; if (window.getSelection) { text= window.getSelection(); } else if (document.getSelection) { text = document.getSelection(); } else if (document.selection) { text = document.selection.createRange().text;}}function y(){if((text=='')){location='http://translate.google.ru/translate?u='%20+%20encodeURIComponent(loc)+'&sl=auto&tl='+lang;}} function z(){if ((text!='')){ var res=window.open('http://translate.google.ru/translate_t?text='+text+'&sl=auto&tl='+ lang ,'gTranslate_popup','left='+((window.screenX||window.screenLeft)+10)+',top='+((window.screenY||window.screenTop)+10)+',height=500px,width=950px,resizable=1,scrollbars=1');window.setTimeout(function(){ res.focus()},300)}} x(); y(); z();
и 2-я такая же, в начале ru на en поменять. можно ещё усовершенствовать, но некогда :)
Переводчик выделенного текста для Google Chrome