Document Translation

This content transformer uses an LLM to translate the body to a default language. If upfront it is detected that the document is already in the default language, the document is left as is. The translated text is afterwards available in the body field “bodyDefault”.

image-20260206-094455.png

Configuration Parameters

  1. Transformer Stage Type: choose Translation

  2. Prompt: Displays the prompt which is sent, together with the document body, to the LLM. You must adjust the translation towards the target language to your needs.

  3. Default language. Here please add the two letter of the ISO 639 language codes so that the stage can (heuristically) determine whether the text needs to be translated or not.

  4. LLM Configuration

    1. See the parameter description at LLM Specific Configurations - Content Transformers