Skip to main content

Interface: I18nextNamedCachedFormatter

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

Since

7.1.0

Seealso

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

Properties

cached

cached: true

Defined in

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


name

name: string

Defined in

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

Methods

format()

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

Parameters

ParameterType
lngundefined | string
optionsany

Returns

Function

Parameters
ParameterType
valueany
Returns

string

Defined in

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