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
-
I18nextNamedFormatter
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
Name | Type |
---|---|
value | any |
lng | undefined | string |
options | any |
Returns
string