Using Google Cloud Translation
Configuration
Trucaption can be configured to translate captured text into other languages using Google Cloud Translation.
To use Google Cloud Translation, you will need:
- A Google Cloud account
- Cloud Translation API enabled in the Google Cloud APIs
To configure the Google Cloud account:
- Enable the Cloud Translation API for your Google Cloud project.
- Switch to the Credentials page.
- Click “Create Credentials”, then “API Key”.
- Copy and save the displayed API key.
- Click the “Edit Key” link.
- Under “API Restrictions”, click “Restrict Key”.
- Select “Cloud Translation API” in the selection window.
- Click “Save”.
Once you have created your API key, configure Trucaption for translation:
- Within the editor window, click Settings, then Translation.
- Enable Translation.
- Paste the API key from the Google Console into the API Key box.
- Select an option for “Translate Interim Transcripts”:
- Enabled: Trucaption will translate the word-by-word transcripts. Warning: this will significantly increase the translation API usage.
- Disabled: Trucaption will only translate final transcripts. This will delay the translation, but can increase accuracy and will reduce API usage.
- Add languages for translation using the drop-down and “Add Language” button.
This post is licensed under CC BY-SA 4.0 by the author.