Compartir por


Google Cloud Translation (Independent Publisher) (Preview)

Cloud Translation enables your websites and applications to dynamically translate text programmatically through an API. Translation uses a Google pre-trained or a custom machine learning model to translate text. By default, Translation uses a Google pre-trained Neural Machine Translation (NMT) model, which Google updates on semi-regular cadence when more training data or better techniques become available.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Troy Taylor
URL https://www.hitachisolutions.com
Email ttaylor@hitachisolutions.com
Connector Metadata
Publisher Troy Taylor, Hitachi Solutions
Website https://cloud.google.com/translate
Privacy policy https://policies.google.com/privacy
Categories Data

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Detect language

Detects the language of text within a request.

Get language list

Returns a list of supported languages for translation.

Translate text

Translates input text, returning translated text.

Detect language

Detects the language of text within a request.

Parameters

Name Key Required Type Description
Text
q True string

The input text to translate. Provide an array of strings to translate multiple phrases. The maximum number of strings is 128.

Returns

Name Path Type Description
Detections
data.detections array of array
items
data.detections array of object
Is Reliable
data.detections.isReliable boolean

Whether the translation is reliable.

Language
data.detections.language string

The detected language.

Confidence
data.detections.confidence float

The confidence of the detection.

Get language list

Returns a list of supported languages for translation.

Parameters

Name Key Required Type Description
Target
target string

The language to use for translation of the input text, set to one of the language codes listed in Language Support.

Model
model string

The translation model. Cloud Translation - Basic offers only the nmt Neural Machine Translation (NMT) model. If the model is base, the request is translated by using the NMT model.

Returns

Name Path Type Description
Languages
data.languages array of object
Language
data.languages.language string

The language code.

nNme
data.languages.name string

The language name.

Translate text

Translates input text, returning translated text.

Parameters

Name Key Required Type Description
Text
q True string

The input text to translate. Provide an array of strings to translate multiple phrases. The maximum number of strings is 128.

Target
target True string

The language to use for translation of the input text, set to one of the language codes listed in Language Support.

Format
format string

The format of the source text, in either HTML (default) or plain-text. A value of html indicates HTML and a value of text indicates plain-text.

Source
source string

The language of the source text, set to one of the language codes listed in Language Support. If the source language is not specified, the API will attempt to detect the source language automatically and return it within the response.

Model
model string

The translation model. Cloud Translation - Basic offers only the nmt Neural Machine Translation (NMT) model. If the model is base, the request is translated by using the NMT model.

Returns

Name Path Type Description
Translations
data.translations array of object
Translated Text
data.translations.translatedText string

The translated text.

Detected Source Language
data.translations.detectedSourceLanguage string

The source language detected.

Model
data.translations.model string

The translation model.