"GoogleTranslate" (Service Connection)

Translate text using the Google Translate API.

Connecting & Authenticating

ServiceConnect["GoogleTranslate"] creates a connection to the Google Translate API.
Use of this connection requires internet access and a Google Translate API account

Requests

ServiceExecute["GoogleTranslate","request",params] sends a request to the Google Translate API, using parameters params. The following give possible requests.

Translate text

Request:

"Translate" retrieves the best translation of a given text

Parameters:
  • "Text"(required)text or list of texts to translate
    "From"Nonesource language
    "To"(required)target language
    "LanguageRules"Falseshow source language(s) in result
  • Examples

    Basic Examples  (1)

    Translate text:

    In[1]:=
    Click for copyable input
    Out[1]=
    In[2]:=
    Click for copyable input
    Out[2]=
    In[3]:=
    Click for copyable input
    Out[3]=
    In[4]:=
    Click for copyable input
    Out[4]=
    In[5]:=
    Click for copyable input
    Out[5]=