david Posted April 11, 2009 Share Posted April 11, 2009 (edited) Are you visiting websites that are in a language other than you're native tongue? Well, this little trick will put a bookmark in your bookmark toolbar so when you are in an website thats in another language, you can just simply click this button on the bookmarks toolbar to auto translate the current page. STEP ONE: Add a bookmark to the toolbar and set the 'Name' to 'Auto Translate' and set the URL to: java script:A14nH=location.href; L3f7=prompt('Choose%20destination%20language%20(2% 20chars%20abbreviation):%20','en'); if(L3f7.length==2) {location='http://translate.google.com/translate?u='%20+%20encodeURIComponent(A14nH)+'&sl =auto&tl='+L3f7;}else{alert ('Invalid%20language%20abbreviation.')} (there should be no space in beween 'java' and 'script' so remove it. The forums keep putting one there after I edit it.) STEP TWO: Now visit http://russia.ru Click the new bookmark we created When the pop up comes up, enter your language you want it to be translated to. For example "EN" (it should default to english) Thats it!:) Edited April 11, 2009 by djlegion Link to comment https://www.neowin.net/forum/topic/758468-instant-translator-for-google-chrome/ Share on other sites More sharing options...
PT 13 Posted April 11, 2009 Share Posted April 11, 2009 java script: > java script: (without the space or it doesn't work) ... spend 5 mins trying before I figured it out :p Great find very nice :) Link to comment https://www.neowin.net/forum/topic/758468-instant-translator-for-google-chrome/#findComment-590841266 Share on other sites More sharing options...
david Posted April 11, 2009 Author Share Posted April 11, 2009 java script: > java script: (without the space or it doesn't work)... spend 5 mins trying before I figured it out :p Great find very nice :) Ya, the forums kept putting the space there after I edited 2x. Link to comment https://www.neowin.net/forum/topic/758468-instant-translator-for-google-chrome/#findComment-590841274 Share on other sites More sharing options...
Recommended Posts