Traduzir Texto - Google Tradutor

Faça tradução de texto selecionado ou a pagina inteira com o Google Tradutor.
O código JavaScript do bookmarklet que faz a tradução usando o serviço do Google é o seguinte:
javascript:var t=((window.getSelection&&window.getSelection())||(document.getSelection&&document.getSelection())||(document.selection&&document.selection.createRange&&document.selection.createRange().text));var e=(document.charset||document.characterSet);if(t!=''){location.href='http://translate.google.com/?text='+t+'&hl=en&langpair=auto|pt&tbb=1&ie='+e;}else{location.href='http://translate.google.com/translate?u='+escape(location.href)+'&hl=en&langpair=auto|pt&tbb=1&ie='+e;};
Para utilizar este bookmarklet, arraste o botão abaixo para a sua barra de favoritos. Depois em qualquer página que você estiver é só clicar nele.

Nenhum comentário:

Postar um comentário