<aside>

Description

The Custom Google Translate Engine integrates with the Google Cloud Translation API using OAuth 2.0 authentication. This engine provides access to Google's extensive language coverage through your own Google Cloud project.

</aside>

Prerequisites


Step 1 — Enable Cloud Translation API

  1. Go to: https://console.cloud.google.com/apis/library/translate.googleapis.com
  2. Select your project from the top dropdown
  3. Click Enable

Step 2 — Configure OAuth Consent Screen

  1. Go to: https://console.cloud.google.com/apis/credentials/consent
  2. Select External as User Type → click Create
  3. Fill in required fields:
  4. Click Save and Continue
  5. On the Scopes step → click Add or Remove Scopes → search for and add: https://www.googleapis.com/auth/cloud-translation
  6. Click Update → Save and Continue through remaining steps
  7. Publishing status: set to In production (or leave as Testing if only you will use it)

Step 3 — Create OAuth 2.0 Credentials

  1. Go to: https://console.cloud.google.com/apis/credentials
  2. Click + CREATE CREDENTIALS → OAuth client ID
  3. Application type: Web application
  4. Name: anything (e.g. "SimpleT Google Translate")
  5. Under Authorized redirect URIs → click + Add URI → enter:
  6. Click Create
  7. A popup shows your credentials — copy and save both:

Step 4 — Create Google Translate Engine in SimpleT

  1. Go to Translation Engines → click New Engine
  2. Fill in the fields:
Field Value
Name Any name (e.g. "Google Translate")
Translation Engine Google Translate
Client ID Paste Client ID from Step 3
Client Secret Paste Client Secret from Step 3
Scope https://www.googleapis.com/auth/cloud-translation
Callback URL http://localhost:8083/google-callback (it may different for you)
  1. Click Save

Step 5 — Test Translation (Authentication is Automatic)

  1. Open the engine → click Test Translation
  2. First time only: A Google sign-in popup will appear
  3. Translation runs immediately after sign-in
  4. All future tests: No popup — the system silently refreshes the token in the background

Notes

custom-google-translate-engine.png

<aside>

Quick View

End User Documentation