Skip to main content

Interface: I18nextNamedFormatter

Represents a cached formatter that is added to i18next with i18next.services.formatter.add.

Since

7.1.0

Seealso

https://www.i18next.com/translation-function/formatting#adding-custom-format-function

Extended by

Properties

cached?

optional cached: false

Source

projects/plugins/packages/i18next/src/lib/types.ts:171


name

name: string

Source

projects/plugins/packages/i18next/src/lib/types.ts:172

Methods

format()

format(value: any, lng: undefined | string, options: any): string

Parameters

ParameterType
valueany
lngundefined | string
optionsany

Returns

string

Source

projects/plugins/packages/i18next/src/lib/types.ts:173