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

Defined in

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


name

name: string

Defined in

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

Defined in

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