Skip to main content

Interface: TranslateManyParams

Defined in: src/client.ts:52

Extends​

  • TranslateParams

Properties​

alternatives?​

optional alternatives?: number

Defined in: src/client.ts:44

How many alternative translations to return besides the main one (default 0).

Inherited from​

TranslateParams.alternatives


format?​

optional format?: TranslateRequestFormat

Defined in: src/client.ts:42

html keeps the markup and translates only its text (default text).

Inherited from​

TranslateParams.format


q​

q: string[]

Defined in: src/client.ts:54

The texts to translate, in one request.


source?​

optional source?: string

Defined in: src/client.ts:38

The source language code, or auto (the default) to detect it.

Inherited from​

TranslateParams.source


target​

target: string

Defined in: src/client.ts:40

The target language code.

Inherited from​

TranslateParams.target