Grooper Help - Version 25.0
25.0.0029 2,194

Translate

Code Activity Grooper.Cloud

Translates the text content of a document into another language, generating a PDF output document in the target language.

Remarks

The Translate activity uses Microsoft Azure's Translator Text API to convert the text content of documents from one language to another, producing a translated PDF as output.

Key Features:

  • Translates each page's text and generates a PDF in the target language.
  • Supports automatic language detection or explicit source language filtering.
  • Output PDF can include:
    • Only the translation,
    • The translation plus the original pages,
    • Or the original pages plus the translation, in a configurable order.
  • Output disposition is configurable: replace the original, add as a child, or save as a custom file.

Usage Notes:

  • Requires a valid Azure Translator Text API key and region.
  • If language detection is enabled, the source language is determined automatically for each document.
  • If a list of source languages is provided, only documents in those languages are translated.
  • The activity integrates with Grooper's batch and folder structure and supports batch processing.

Translate and Azure OCR Azure OCR does not detect the language of the document. In order for Translate to work properly, the Detect Language activity must be run to ensure the proper culture code is assigned to the document. The step sequence in a Batch Process should be as follows:

  1. Recognize (using Azure OCR)
  2. Detect Language
  3. Translate

Properties

NameTypeDescription
General
Output
Filename String

When Disposition is set to Save As, specifies a custom filename to used for the output PDF.

Processing Options

See Also

Used By

Notification