# Interface DocumentTranslationApplyToSelector

Configuration selector for applying translation to specific placeholders or message roles.

interface DocumentTranslationApplyToSelector {
category: TranslationApplyToCategory;
items: string[];
sourceLanguage?: string;
}

- Defined in packages/orchestration/dist/orchestration-types.d.ts:501

##### Index

### Properties

category
items
sourceLanguage?

## Properties

### category

category: TranslationApplyToCategory

Category to apply translation to.

- Defined in packages/orchestration/dist/orchestration-types.d.ts:505

### items

items: string[]

List of placeholders or roles to apply translation to.

#### Example

    [
      "groundingInput",
      "inputContext"
    ]

- Defined in packages/orchestration/dist/orchestration-types.d.ts:513

### `Optional` sourceLanguage

sourceLanguage?: string

Language of the text to be translated.

#### Example

    "de-DE"

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

- Defined in packages/orchestration/dist/orchestration-types.d.ts:518