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: cudaboy_71 on Jul 08, '05 12:12:20PM

i dont know javascript well enough to tweak this. can anyone post the script to translate text entered?

perhaps capture any text entered into the address field, or maybe pop up a javascript prompt for text, then call the google.com translator with that query.

something like how

[code]
javascript:void(q=prompt('Enter%20text%20to%20search%20using%20Google.',''));if(q)void(location.href='http://www.google.com/search?client=googlet&q='+escape(q))
[/code]

creates a google query from a popup.

the translator script would just return the translated text on the http://www.google.com/language_tools page.

thanks.

---
if it aint broke, break it!



[ Reply to This | # ]