Skip to main content

MessageOptions

Index

Properties

optionalcontext

context?: string

Context used for special parsing (male, female, etc).

optionalcount

count?: number

Count used to determine plurals.

optionaldefaultValue

defaultValue?: string

Default value to return if a translation was not found.

optionalinterpolation

interpolation?: InterpolationOptions

Interpolation options to pass down.

optionallocale

locale?: string

Force translation to this locale.

optionalpostProcess

postProcess?: string | string[]

Post-processors to run on the translation.