Highlight2Translate

By fredar Last update Jan 1, 2009 — Installed 3,211 times. Daily Installs: 2, 0, 6, 1, 3, 3, 2, 4, 3, 1, 0, 0, 2, 1, 2, 7, 4, 0, 5, 4, 3, 0, 5, 1, 11, 4, 0, 2, 3, 1, 3, 5
Script Summary:
Highlight any text (of any language) on the screen and translate it into English or other languages
Review Summary
5 stars
1 reviews (1)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 1 review

Highlight2Translate ver 1.0 (updated 9/10/2008):

Function:
Highlight any text (of any language) on the screen, a translation box will appear near your cursor
and the text will be translated into English ( using google language api)

Example:

This example shows how the script translates "毒南" in Chinese to "South poisoning" in English

ver 1.1 (updated 1/1/2009):

Happy new Year!

Today I added a list of translation so that users can change the language after translation easier,
by editing a line in the source code, for example:
__________________________________________________________________________________________
if users change the line 103 from
languageAfterTranslation=languageAfterTranslationSet['ENGLISH']
to
languageAfterTranslation=languageAfterTranslationSet['CHINESE']

then the translation will be in Chinese rather than in English