Parameter List
The text to translate. For example: "The quick brown fox"
.
The source language of the text. For example: "en"
.
If blank, the language is detected automatically.
The target language (the language you want the text to be translated into). For example: "de"
.
By default, translates to English.
A Boolean value indicating whether to return just the text. Choose either:
TRUE
(default) to get just the textFALSE
to get the text along with additional data
The format of the text
. Choose either:
"text"
(default) for plain text"html"
for HTML text
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
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.
The fallback language to use if auto-detecting the from language does not work. For example: "en"
.
The script of the source
text. For example: "Taml"
for Tamil.
The script of the target
text. For example: "Latn"
for Latin.
The Category ID of your Custom Translator.