eo-translatorjs / EOTranslator / TTranslateOptions
Type Alias: TTranslateOptions
ts
type TTranslateOptions = object;Defined in: index.ts:488
Options accepted by EOTranslator.translate.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
lang? | string | Override the active language for this call. | index.ts:492 |
fallback? | string | Value to return when the key is not found. Defaults to the key itself. | index.ts:497 |
params? | Record<string, unknown> | Interpolation parameters ({placeholder} syntax). | index.ts:502 |