Skip to content

AIDC Toolkit / Core / i18nCoreInit

Function: i18nCoreInit()

i18nCoreInit(i18next, environment, debug, defaultNS, ...resources): Promise<void>

Defined in: i18n.ts:164

Initialize internationalization.

Parameters

i18next

i18n

Internationalization object. As multiple objects exists, this parameter represents the one for the module for which internationalization is being initialized.

environment

I18nEnvironment

Environment in which the application is running.

debug

boolean

Debug setting.

defaultNS

string

Default namespace.

resources

...Resource[]

Resources.

Returns

Promise<void>

Void promise.