@use-compose/i18next-compose-root / i18next-compose/src
i18next-compose/src
Interfaces
| Interface | Description |
|---|---|
| CoreContext | - |
| I18nApp | - |
| I18NextContext | - |
| I18nFormatterHelper | - |
Type Aliases
| Type Alias | Description |
|---|---|
| ChangeLanguageFunc | - |
| Createi18nConfigParams | i18n configuration parameters It extends i18next InitOptions but omits some properties to allow custom naming and typing. |
| cTFunc | - |
| InputNamespaces | - |
Variables
| Variable | Description |
|---|---|
| changeLanguage | - |
| i18nextContextStub | - |
| i18nFormatterMock | - |
Functions
| Function | Description |
|---|---|
| composeI18nextContext | Creates and returns an i18next context with the provided configuration options. |
| contextCoreStub | Creates a stub core context with default values |
| getFlagEmoji | - |
| i18nFormatterHelper | Provide helper formatter based on current i18next instance to access translations |
| initI18nConfig | Initializes and configures an i18nApp instance which extends i18n to support custom methods and properties. |
| useCoreContext | Hook to initialize and provide base core i18nApp context |