Language translators

Click to copy

Modules for localization into different languages and translation of texts in your application.


Google Translate

Google Translate module adds integration with Google Translate service to your application and is intended for automated text translation.


Business processes

Google Translate: Translate

Input

  • text (text) - source text for translation.
  • source_lang (ENUM) - language of the source text.
  • target_lang (ENUM) - target language for translation
  • is_html (boolean) - a mark that the input source text is html formatted.

Output

  • text (text) - translated text

Settings

ParameterPresetDescription
Project ID-Your project ID on Google Cloud Platform.
Service Account File-Service account private key JSON file of your Google Cloud project

Use Google Cloud Console to get the Project ID. Manual for obtaining and setting up the Project ID is available at this link.
Manual for obtaining Service Account File is available at this link. According to security policy, Google does not store your private key so you can not redownload your JSON file. You will have to create a new key if necessary.


DeepL Translator

The module provides integration with DeepL Translator


ParameterDefaultDescription
Auth Key-Auth Key from your DeepL account
Use Pro version?OffFor paid users only

DeepL Translator: Translate Text

Input

  • sourse_lang (enum) - the language of the text to be translated;
  • target_lang (enum) - the language into which the text should be translated;
  • text (string) - text to be translated. Only UTF8-encoded plain text is supported;
  • split_sentences (boolean) - sets whether the translation engine should first split the input into sentences. This is enabled by default;
  • glossary_id (string) - specify the glossary to use for the translation. Important: This requires the source_lang parameter to be set and the language pair of the glossary has to match the language pair of the request.

Output

  • text (string) - the translated text.

DeepL Translator: Translate document

Input 

  • sourse_lang (enum) - the language of the text to be translated;
  • target_lang (enum) - the language into which the text should be translated;
  • document (file) - the document file to be translated. 

Output

  • document_id (string) - a unique ID assigned to the uploaded document and the translation process;
  • document_key (string) - a unique key that is used to encrypt the uploaded document as well as the resulting translation on the server side.

DeepL Translator: Check translation status

Input

  • document_id (string) - a unique ID assigned to the document and the translation process;
  • document_key (string) - the document encryption key that was sent to the client when the document was uploaded to the API.

Output

  • document_id (string) - a unique ID assigned to the document and the translation process;
  • status (enum) - a short description of the state the document translation process is currently in. Possible values are:
    • "queued" - the translation job is waiting in line to be processed
    • "translating" - the translation is currently ongoing
    • "done" - the translation is done and the translated document is ready for download
    • "error" - an irrecoverable error occurred while translating the document
  • seconds_remaining (integer) - estimated number of seconds until the translation is done. This parameter is only included while the translation is ongoing.

DeepL Translator: Downloading translated documents

Input

  • document_id (string) - a unique ID assigned to the document and the translation process;
  • document_key (string) - the document encryption key that was sent to the client when the document was uploaded to the API.
  • name (string) - name of file.

Output

  • document (file) - downloaded file

Microsoft Translator

The module provides integration with Microsoft Translator API


ParameterDefaultDescription
Subscription Key-Subscription Key in your Azure account
Subscription Region-Subscription Region in your Azure account

Microsoft Translator: Detect language

Input

  • text (text) - text to be translated.

Output

  • lang (enum) - code of the detected language.

Microsoft Translator: Transliterate

Input

  • text (text) - text to be transliterated;
  • sourse_lang (enum) - language of the text.

Output

  • text (text) - text which is the result of converting the input text.

Microsoft Translator: Translate

Input

  • is_html (boolean) - is the text html;
  • target_lang (enum) - the language into which the text should be translated;
  • sourse_lang (enum) - the language of the text to be translated;
  • text (text) - text to be translated.

Output

  • text (text) - the translated text.

Settings

Business processes

Settings

Business processes