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.
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.
- TextTranslation takes the following options:
-
- Possible settings for the Method option include "Microsoft" and "Google".
Examples
open all close allBasic 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:
Related Workflows
- Configure for a Non-English Interface ▪
- Configure Non-English Code Captions
History
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_2025_texttranslation, author="Wolfram Research", title="{TextTranslation}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/TextTranslation.html}", note=[Accessed: 19-November-2025]}
BibLaTeX
@online{reference.wolfram_2025_texttranslation, organization={Wolfram Research}, title={TextTranslation}, year={2017}, url={https://reference.wolfram.com/language/ref/TextTranslation.html}, note=[Accessed: 19-November-2025]}