TRANSLATE_GOOGLE

Translate a body of text from a source language to a target language.

icon of Google TranslateGoogle Translate
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
TRANSLATE_GOOGLE(text
[source]
[target]
[short]
[format]
[model]
)
text

The text to translate. For example: "Hello world!".

[optional] source

Source language ISO 639-1 code. For example: "en". If not provided, Google auto-detects the language.

[optional] target

Target language ISO 639-1 code. For example: "fr" or "en" (default).

[optional] short

Boolean indicating whether or not to return additional information for the translation. Choose either:

  • TRUE to get the translation only (default)

  • FALSE to get additional information

Selected options:
False
True
[optional] format

The format of the source text. Choose either:

  • "text" for plain-text (default)

  • "html" for HTML

Selected options:
HTML
Plain text
[optional] model

The translation model. Choose either:

  • "base" for the Phrase-Based Machine Translation (PBMT) model

  • "nmt" for the Neural Machine Translation (NMT) model (default)

Selected options:
NMT
PBMT
More details

Please see the list of supported codes in Google's Translation API documentation.

Examples

TRANSLATE_GOOGLE("Hallo, Welt!") returns "Hello world!"