({{, (RefLink[TextTranslation, paclet:ref/TextTranslation])["text"]
translates text into the current default language. }, {, (RefLink[TextTranslation, paclet:ref/TextTranslation])["text",lang]
translates text into the language specified by lang.}, {, (RefLink[TextTranslation, paclet:ref/TextTranslation])["text",(Subscript[lang, 1])->(Subscript[lang, 2])]
translates text from language (Subscript[lang, 1]) to (Subscript[lang, 2]).}})

OpenersNotesSection(Spacer1)Details and Options

(RefLink[TextTranslation, paclet:ref/TextTranslation]) requires internet connectivity and uses external services that require (WebLink[Service Credits, http://www.wolfram.com/service-credits/]).

If no source language (Subscript[lang, 1]) is given, the source language is determined automatically.

In (RefLink[TextTranslation, paclet:ref/TextTranslation])["text"], the target language is as given by (RefLink[$Language, paclet:ref/$Language]).

Languages can be specified using entities of type (StringTypeLink["Language", paclet:ref/interpreter/Language]) or strings corresponding to standard names of languages.

A (RefLink[Method, paclet:ref/Method]) option can be given to specify the translation service to use. Current possible settings include "Microsoft" and "Google".

OpenersPrimaryExamplesSection(Spacer1)Examples  (6)

OpenersExampleSection0(Spacer1)Basic Examples  (2)

Translate text to the current default language:

TextTranslation["今日は良い一日だった"]

Translate text to specific languages:

TextTranslation["Where is the library?",#]&/@{"Russian","German","Spanish"}

OpenersExampleSection1(Spacer1)Scope  (3)

OpenersExampleSubsection0(Spacer1)Language Detection and Specification  (3)

Autodetect the source language and translate it to the current default language given by (RefLink[$Language, paclet:ref/$Language]):

TextTranslation["La entropía no puede revertirse"]

Translate text to a specified language:

TextTranslation["La entropía no puede revertirse",(Entity["French", Entity["Language","French"], "Entity[\"Language\", \"French\"]", "language"])]

Specify the source and target languages:

TextTranslation["La entropía no puede revertirse",(Entity["Spanish", Entity["Language","Spanish"], "Entity[\"Language\", \"Spanish\"]", "language"])->(Entity["Italian", Entity["Language","Italian"], "Entity[\"Language\", \"Italian\"]", "language"])]

OpenersExampleSection2(Spacer1)Options  (1)

OpenersExampleSubsection1(Spacer1)Method  (1)

Use a specific service for translation:

TextTranslation["There is no such thing as a free lunch",(Entity["German", Entity["Language","German"], "Entity[\"Language\", \"German\"]", "language"]),Method-> "Google"]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[WordTranslation, paclet:ref/WordTranslation])  ▪  (RefLink[Transliterate, paclet:ref/Transliterate])  ▪  (RefLink[LanguageIdentify, paclet:ref/LanguageIdentify])  ▪  (RefLink[$Language, paclet:ref/$Language])  ▪  (RefLink[LanguageData, paclet:ref/LanguageData])  ▪  (RefLink[$ServiceCreditsAvailable, paclet:ref/$ServiceCreditsAvailable])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Listing of Supported External Services, paclet:guide/ListingOfSupportedExternalServices])}, {▪(RefLinkPlain[Linguistic Data, paclet:guide/LinguisticData])}, {▪(RefLinkPlain[Accessing External Services & APIs, paclet:guide/AccessingExternalServicesAndAPIs])}, {▪(RefLinkPlain[Text Normalization, paclet:guide/TextNormalization])}, {▪(RefLinkPlain[Locale & Internationalization, paclet:guide/LocaleAndInternationalization])}})}})