Software documentation Q&A
[Google API] Obtaining and configuring the Google Translate API

This article explains how to enable the Google Translate API and... Xiaofeitu (a website translation service) Configure the Google Translate API.

Activation steps

Register an account

Create credentials

  • Created and copied key

Enable translation

Note: If you encounter a lack of a settlement account during the activation process, simply activate the account.

Configuration Interface

1. Download the software

2. Interface Configuration

  • Open the software and click on the menu bar. Configuration Interface

  • In the opened window, click Add Microsoft

  • In the opened window, enter the following: Translate APPIDTranslation Key and Service Version

  • Click the button Add to

3. Test and verify the translation

Interface fees

free

  • The first 500,000 characters per month

Paid

  • $20 per million characters

For detailed pricing information, please refer to the official website documentation.https://cloud.google.com/translate/pricing

Troubleshooting

Encountered HTTP 403 error

There may be a problem with your billing account (e.g., your credit card has expired), or you may have exceeded your daily billing limit or your character limit per minute. If you exceed your daily limit, you will receive a Daily Limit Exceeded error; if you exceed your character limit per minute, you will receive a User Rate Limit Exceeded error.

HTTP 500 (Internal Errors) response

  • This can happen if you don't specify the source language when submitting your text. If Google can't determine the source language of the given text (usually because the text is too short), we'll return a 500 error. To resolve this, explicitly specify the source language.

Solving common problems:https://cloud.google.com/translate/troubleshooting?hl=zh_CN

Previous article:[Microsoft Interface] Obtaining and Configuring the Microsoft Translation Interface
Next article:[Baidu API] Obtaining and configuring the Baidu Translate API