Skip to main content
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:755

Properties

context?

optional context?: unknown
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:771 Used for contexts (eg. male\female)

count?

optional count?: number
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:763 Count value used for plurals

defaultValue?

optional defaultValue?: unknown
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:759 Default value to return if a translation was not found

fallbackLng?

optional fallbackLng?: false | FallbackLng
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:787 Override language to lookup key if not found see fallbacks for details

interpolation?

optional interpolation?: InterpolationOptions
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:819 Override interpolation options

joinArrays?

optional joinArrays?: string
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:811 Char, eg. ā€˜\n’ that arrays will be joined by (can be set globally too)

keyPrefix?

optional keyPrefix?: string | (($) => any)
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:825 Optional keyPrefix that will be applied to the key before resolving. Accepts a string or a selector function (e.g. $ => $.deeply.nested). Only supported on the TFunction returned by getFixedT().

keySeparator?

optional keySeparator?: string | false
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:795 Override char to separate keys

lng?

optional lng?: string
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:779 Override language to use

lngs?

optional lngs?: readonly string[]
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:783 Override languages to use

ns?

optional ns?: Namespace<string>
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:791 Override namespaces (string or array)

nsSeparator?

optional nsSeparator?: string | false
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:799 Override char to split namespace from key

ordinal?

optional ordinal?: boolean
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:767 Ordinal flag for ordinal plurals

postProcess?

optional postProcess?: string | readonly string[]
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:815 String or array of postProcessors to apply see interval plurals as a sample

replace?

optional replace?: any
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:775 Object with vars for interpolation - or put them directly in options

returnDetails?

optional returnDetails?: boolean
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:807 Returns an object that includes information about the used language, namespace, key and value

returnObjects?

optional returnObjects?: boolean
Defined in: node_modules/.pnpm/i18next@25.10.10_typescript@7.0.2/node_modules/i18next/typescript/options.d.ts:803 Accessing an object not a translation string (can be set globally too)