Skip to main content

Interface: I18nextNamedFormatter

@sapphire/plugin-i18next.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

Hierarchy

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, lng, options): string

Parameters

NameType
valueany
lngundefined | string
optionsany

Returns

string

Defined in

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