Google Translator in the pocket
A special thanks to Mom Google, this bookmarklet uses the service offered by Google Translator.
You can translate selected text or the entire page.
This site is not affiliate to Google.
You can translate selected text or the entire page.
This site is not affiliate to Google.
Details
Tested on :
- All browser, tablet and smartphone
- All languages
- Developed by Leonardo Ciaccio
(function(){ var l = (navigator.language || navigator.userLanguage); 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!=''){ window.open("http://translate.google.com/?text="+t+"&hl="+l+"&langpair=auto|"+l+"&tbb=1&ie="+e,"_blank","height=570,width=800"); }else{ location.href="http://translate.google.com/translate?u="+encodeURIComponent(location.href)+"&hl="+l+"&langpair=auto|"+l+"&tbb=1&ie="+e; } })();