Highlight2Translate

By fredar Last update Jan 1, 2009 — Installed 5,180 times.

small changes:

in
Subscribe to small changes: 2 posts, 2 voices



rfu Scriptwright

You could also do it easier to "change" current language by adding this

var lang = "da";

and change

unsafeWindow.google.language.translate(window.text,result.language,"en",translateResult)

to

unsafeWindow.google.language.translate(window.text,result.language,(lang),translateResult)

:)

 
fredar Script's Author

thanks for your advice:), I will change the source code together with some other updates later

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel