Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A JavaScript bookmark to translate webpages' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A JavaScript bookmark to translate webpages
Authored by: kenji on Mar 06, '07 08:15:58AM
I too have found this to be broken. I tried adding some additional parameters:

javascript:void(location.href='http://translate.google.com/translate?&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools&u='+location.href)

... but it still doesn't work. It seems the URL now specifically encodes for the "before" and "after" languages using the "langpair" attribute, as in this bookmark that translates Spanish to English:

javascript:void(location.href='http://translate.google.com/translate?langpair=es%7Cen&hl=en&ie=UTF-8&oe=UTF-8&prev=%2Flanguage_tools&u='+location.href)

[ Reply to This | # ]