[Retired] Translate using Google Translate on Rapid API
Translate text using Google Translate on Rapid API: https://rapidapi.com/googlecloud/api/google-translate1
by @pixies
How to Use
This brick calls the Google Translate API to translate text from its source language to a target language.
After adding the brick, add the text you wish to translate to the ‘query’ field. The source language can be automatically detected or provided by the user. The target language and optionally the source language can be set using their ISO 639-1 codes.
If you don’t have one yet, you’ll also have to create a RapidAPI service to put in the ‘rapidapi’ field.
The output will contain the translated text, and if the language was autodetected it will also contain the language detected.
Examples
Inputs
Name | Required | Type | Description |
---|---|---|---|
query |
string
|
||
source |
string
|
The two-letter language code to translate from. See a list of codes here: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes | |
target |
string
|
The two-letter language code to translate to. See a list of codes here: https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes | |
rapidapi |
rapidapi/google-translate integration
|
Outputs
Name | Required | Type | Description |
---|---|---|---|
translatedText |
string
|