Google Operating System
Useful Google Translate Addresses
Translate a web page into Vietnamese (the input language is detected automatically):
http://translate.google.com/translate?sl=auto&tl=LANG&u=URL
Example: http://translate.google.com/translate?sl=auto&tl=vi&u=http://ttlcompany.com/pages/index.htm
Translates TTLCompany's homepage from English into Vietnamese, but without explicitly mentioning that the web page is written in English.
Use Google Translate as a proxy:
http://www.google.com/translate_c?langpair=LANG1|LANG2&u=URL
Example: http://www.google.com/translate_c?langpair=en|vi&u=http://ttlcompany.com/pages/index.htm
You basically want to read the page in its initial language, but loaded from Google's servers. LANG2 should be the code for your web page's language, while LANG1 can be any supported language so that LANG1|LANG2 is a valid language pair.
Example: http://www.google.com/translate_c?langpair=fr|en&u=http://craigslist.org shows Craigslist's home page using Google Translate as a way to bypass security restrictions.
Translate a text:
http://www.google.com/translate_t?langpair=LANG1|LANG2&text=TEXT
Example: http://www.google.com/translate_t?langpair=en|es&text=Hello, world! translates "Hello, world!" from English into Spanish.
Notes:
1. the language pairs are listed in this FAQ, while the language codes are included in this long list.
2. To disable Google Translate's annoying tooltips that show the original text, block this JavaScript file: http://209.85.135.104/translate_c.js, for example by adding a new rule in Adblock Plus for Firefox or by using Opera's content blocker.
No comments:
Post a Comment