Preparing search index...
The search index is not available biorate
Interface LanguageDetectorAsyncModule
Hierarchy
Module
LanguageDetectorAsyncModule
Defined in packages/@biorate/i18n/node_modules/i18next/index.d.ts:134
Properties
async
async : true
Defined in packages/@biorate/i18n/node_modules/i18next/index.d.ts:137
type
type : "languageDetector"
Overrides Module .type
Defined in packages/@biorate/i18n/node_modules/i18next/index.d.ts:135
Methods
Optional
cache User Language
cache User Language ( lng ) : void | Promise < void >
Returns void | Promise < void >
Defined in packages/@biorate/i18n/node_modules/i18next/index.d.ts:143
detect
detect ( callback ) : void | Promise < string | readonly string [] >
Parameters
callback : ( ( lng ) => void )
( lng ) : void
Parameters
lng : string | readonly string []
Returns void
Returns void | Promise < string | readonly string [] >
Defined in packages/@biorate/i18n/node_modules/i18next/index.d.ts:140
Optional
init
init ( services , detectorOptions , i18nextOptions ) : void
Parameters
detectorOptions : object
i18nextOptions : InitOptions < object >
Returns void
Defined in packages/@biorate/i18n/node_modules/i18next/index.d.ts:138
Used to detect language in user land. Can be provided as a singleton or as a prototype constructor (preferred for supporting multiple instances of i18next). For singleton set property
type
to'languageDetector'
For a prototype constructor set static property.