Skip to content

@use-compose/i18next-compose-root / i18next-compose/src

i18next-compose/src

Interfaces

InterfaceDescription
CoreContext-
I18nApp-
I18NextContext-
I18nFormatterHelper-

Type Aliases

Type AliasDescription
ChangeLanguageFunc-
Createi18nConfigParamsi18n configuration parameters It extends i18next InitOptions but omits some properties to allow custom naming and typing.
cTFunc-
InputNamespaces-

Variables

VariableDescription
changeLanguage-
i18nextContextStub-
i18nFormatterMock-

Functions

FunctionDescription
composeI18nextContextCreates and returns an i18next context with the provided configuration options.
contextCoreStubCreates a stub core context with default values
getFlagEmoji-
i18nFormatterHelperProvide helper formatter based on current i18next instance to access translations
initI18nConfigInitializes and configures an i18nApp instance which extends i18n to support custom methods and properties.
useCoreContextHook to initialize and provide base core i18nApp context