TextTranslation

TextTranslation["text"]

translates text into the current default language.

TextTranslation["text",lang]

translates text into the language specified by lang.

TextTranslation["text",lang1lang2]

translates text from language lang1 to lang2.

Details and Options

  • TextTranslation requires internet connectivity and uses external services that require Service Credits.
  • If no source language lang1 is given, the source language is determined automatically.
  • In TextTranslation["text"], the target language is as given by $Language.
  • Languages can be specified using entities of type "Language" or strings corresponding to standard names of languages.
  • A Method option can be given to specify the translation service to use. Current possible settings include "Microsoft" and "Google".

Examples

open allclose all

Basic Examples  (2)

Translate text to the current default language:

Translate text to specific languages:

Scope  (3)

Language Detection and Specification  (3)

Autodetect the source language and translate it to the current default language given by $Language:

Translate text to a specified language:

Specify the source and target languages:

Options  (1)

Method  (1)

Use a specific service for translation:

Wolfram Research (2017), TextTranslation, Wolfram Language function, https://reference.wolfram.com/language/ref/TextTranslation.html.

Text

Wolfram Research (2017), TextTranslation, Wolfram Language function, https://reference.wolfram.com/language/ref/TextTranslation.html.

CMS

Wolfram Language. 2017. "TextTranslation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TextTranslation.html.

APA

Wolfram Language. (2017). TextTranslation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TextTranslation.html

BibTeX

@misc{reference.wolfram_2023_texttranslation, author="Wolfram Research", title="{TextTranslation}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/TextTranslation.html}", note=[Accessed: 19-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_texttranslation, organization={Wolfram Research}, title={TextTranslation}, year={2017}, url={https://reference.wolfram.com/language/ref/TextTranslation.html}, note=[Accessed: 19-March-2024 ]}