SAP AI SDK for JavaScript - v2.8.0
    Preparing search index...

    Type Alias SAPDocumentTranslationInput

    Representation of the 'SAPDocumentTranslationInput' schema.

    type SAPDocumentTranslationInput = {
        config: {
            apply_to?: SAPDocumentTranslationApplyToSelector[];
            source_language?: string;
            target_language: string;
        };
        translate_messages_history?: boolean;
        type: "sap_document_translation";
    }
    Index

    Properties

    config: {
        apply_to?: SAPDocumentTranslationApplyToSelector[];
        source_language?: string;
        target_language: string;
    }

    Configuration for sap_document_translation translation provider.

    Type Declaration

    • Optionalapply_to?: SAPDocumentTranslationApplyToSelector[]

      Min Items: 1.

    • Optionalsource_language?: string

      Language of the text to be translated.

      "de-DE"
      
    • target_language: string

      Language to which the text should be translated.

      "en-US"
      
    translate_messages_history?: boolean

    If true, the messages history will be translated as well. Default: true.

    type: "sap_document_translation"

    Type of document translation provider

    "sap_document_translation"
    

    Copyright Ⓒ 2026 SAP SE or an SAP affiliate company. All rights reserved.