Skip to content

eo-translatorjs


eo-translatorjs / EOTranslator / TTranslateOptions

Type Alias: TTranslateOptions ​

ts
type TTranslateOptions = object;

Defined in: index.ts:488

Options accepted by EOTranslator.translate.

Properties ​

PropertyTypeDescriptionDefined in
lang?stringOverride the active language for this call.index.ts:492
fallback?stringValue 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

Released under the MIT License.