InterpolationConfiguration
Configuration options for interpolation in i18next
.
This class allows you to configure how interpolation is handled in i18next
, including formatting, escaping, and nesting of variables.
See also
Properties
Default variables to be used in all interpolations.
Whether to escape interpolated values.
The separator used to split format parameters in the interpolation.
The maximum number of replacements to prevent infinite loops during interpolation.
The separator used for options in nested interpolations.
The prefix used for nesting translations.
The escaped version of the nesting prefix.
The suffix used for nesting translations.
The escaped version of the nesting suffix.
The escaped version of the prefix for interpolation.
Whether to skip interpolation if variables are missing.
The escaped version of the suffix for interpolation.
The prefix indicating that a value should not be escaped.
The suffix indicating that a value should not be escaped.
Whether to use the raw value (before formatting) for escaping.
Functions
Sets default variables for interpolation using a TranslationConfiguration.
Sets default variables for interpolation using a dynamic object.