An unofficial blog that watches Google's attempts to move your operating system online since 2005. Not affiliated with Google.

Send your tips to

March 21, 2008

Useful Google Translate Addresses

Translate a web page:|LANG2&u=URL

Example:|en&u= translates Corriere della Sera's homepage from Italian into English.

Translate a web page into English (the input language is detected automatically):

Example: translates Corriere della Sera's homepage from Italian into English, but without explicitly mentioning that the web page is written in Italian.

Use Google Translate as a proxy:|LANG2&u=URL

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:|en&u= shows Craigslist's home page using Google Translate as a way to bypass security restrictions.

Translate a text:|LANG2&text=TEXT

Example:|es&text=Hello, world! translates "Hello, world!" from English into Spanish.


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:, for example by adding a new rule in Adblock Plus for Firefox or by using Opera's content blocker.


  1. I tried to read the Italian translated to English and it was awful.

  2. I sometimes use Gtrans as a proxy to bypass corporate filters, (xlate English to Spanish, for example, then mouseover to see orginal). Would be more useful as proxy if could fake the xlate - translate English to English ...

  3. Also use the FF add-on to xlate a page I'm viewing.

  4. Google doesn't allow you to translate from English to English anymore, but you can always pretend that you're translating from a different language to English (for example, from Spanish to English).

  5. is there a way to just return an xml document for the "Translate a Text" example.

    I'm wondering this, as I'm curious if google's translate tool can be used by sites to translate text.

    at the moment the work around is
    @file_get_contents("|es&text=Hello, world!")

    preg_match('/< d i v id=result_box dir=ltr>(.*?)<\/ d i v >/', $in, $out);

    or there is a good tool out there already for what I am after?

  6. @feeble:
    You no longer need to scrape the text. Use the translation API for JavaScript. "With the AJAX Language API, you can translate and detect the language of blocks of text within a webpage using only Javascript."

  7. @ionut Alex Chitu:
    I have been looking over the "translation API for JavaScript"

    Its not perfect, but its pretty close.

    Thank you.

  8. But some clever ip tracking solutions will be able to track your real ip address even after using google translation, i.e.|en&u=

  9. How do I switch off Google Translate when I do not need it??
    How do I remove it completely from Firefox?
    I am running OSX 10.4.11 Gerald

  10. I would like to suggest a new (great) feature. The idea is to allow the name "ask" to be used as the second language in a langpair element, as in the following example:|ask&u=

    This link would jump to a new page presenting a table of flags, allowing the user to select the target language. Then, by clicking in one of the flags flag, the translation would performed immediately.

    Sometimes you are not allowed to use those nice translation widgets because they require JavaScript. My idea allows the translation to be made using two clicks, which is good enough.

  11. You can select the language pair using the dropdowns recently added by Google.

  12. Thank you for your answer. I afraid I did not provide enough context.

    I have some HTML pages stored in some site that forbids the use of JavaScript code in the pages. So, I'm limited to plain HTML.

    I would like to add a link - named "Google translation" - to each of my pages, that would allow the visitors to translate them to their language in a simple way. My current solution uses a table of national flags, but this corresponds to a large block of "polluting" HTML code... I'm looking for something much simpler. So, I come up with this idea of the "ask" language, one idea that can be useful for other users of the Google services.

    This is only an idea... hopefully someone at Google likes it. Anyway, if there is already a one-liner HTML solution to my small problem, I would like to know about that. Thanks!

  13. 1. You don't need to use JavaScript for a simple form. Use a drop-down that lists the destination languages. To generate the "action" URL, use values like it|fr for French, it|en for English etc. and name the select field "langpair".

    2. Never use flags to represent languages because there's no one-to-one correspondence between languages and countries. I explained more about this here.

  14. Thank you for your advice. I agree with you about the use national flags.
    You solution is not the "one-liner" I was looking for, but still it is an improvement.
    Thanks again.

  15. I am wondering how to show a link to a site in English when the standard search is making for a string in Hebrew. In other words, the search string in Hebrew should be translated automatically into its English equivalent and the relevant site in English will appear among the results of the search. If I am searching for English translation of the string in Hebrew that site is appeared as a top one.

  16. Thanks for your blog and sharing your expertise, it's really appreciated. I enjoyed it thoroughly, it helped me a lot for what i was searching for. This is a nice blog. Keep it up. For more details about Translation Agency Visit: Translation Agency

  17. Technology's is one of the best internet service provider company in ankleshwar. It offers the different internet plans with very cheap price, high speed & guaranteed services.

    Read More.


Note: Only a member of this blog may post a comment.