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

Source

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


name

name: string

Source

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

Source

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