TRANSLATE_MICROSOFT

Translate a body of text from a source language to a target language using Microsoft Translator.

icon of Microsoft Translator TextMicrosoft Translator Text
Not a big fan of functions?
Use the Actions Wizard to configure any action in Rows without functions.

Parameter List

Syntax
TRANSLATE_MICROSOFT(text
[source]
[target]
[short]
[format]
[profanity_action]
[profanity_marker]
[suggested_from]
[from_script]
[to_script]
[category]
)
text

The text to translate. For example: "The quick brown fox".

[optional] source

The source language of the text. For example: "en". If blank, the language is detected automatically.

[optional] target

The target language (the language you want the text to be translated into). For example: "de". By default, translates to English.

[optional] short

A Boolean value indicating whether to return just the text. Choose either:

  • TRUE (default) to get just the text

  • FALSE to get the text along with additional data

Selected options:
False
True
[optional] format

The format of the text. Choose either:

  • "text" (default) for plain text

  • "html" for HTML text

Selected options:
HTML
Plain text
[optional] profanity_action

How to treat profanities. Choose either:

  • "NoAction" (default) to translate the profanity

  • "Marked" to mark the profanity in the translation

  • "Deleted" to delete the profanity from the translation

Selected options:
Deleted
Marked
NoAction
[optional] profanity_marker

How to mark the profanities. Choose either:

  • "Asterisk" (default) to replace the profanity with asterisks

  • "Tag" to surround the profanity with a <profanity> HTML element.

Selected options:
Asterisk
Tag
[optional] suggested_from

The fallback language to use if auto-detecting the from language does not work. For example: "en".

[optional] from_script

The script of the source text. For example: "Taml" for Tamil.

Selected options:
Arab
Beng
Cyrl
Deva
Hans
Hant
Grek
Gujr
Hebr
Jpan
Knda
Latn
Mlym
Orya
Sinh
Taml
Telu
Thai
[optional] to_script

The script of the target text. For example: "Latn" for Latin.

Selected options:
Arab
Beng
Cyrl
Deva
Hans
Hant
Grek
Gujr
Hebr
Jpan
Knda
Latn
Mlym
Orya
Sinh
Taml
Telu
Thai
[optional] category

The Category ID of your Custom Translator.

Examples

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