Online Ajax translation with Google API

Source: Internet
Author: User

Address: http://www.zu14.cn/2008/11/29/google_trans/

Google's online translation service may be a commonly used translation function. After all, you don't have to install your own translation software.

Google also provides an API for automatic translation for callers. This allows us to make small applications by ourselves.

I have read the development documentation and it is really easy to use. Just a few lines of code. However, it has two restrictions:

1. A maximum of 500 words can be translated at a time.

2. html tag-embedded text is not supported. Only plain text translation is supported.

 

However, for basic applications, it is almost enough.

This section provides an example of a practical application (opened in a new window): (for usage, see the IFRAME source code below)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.