Properties
determineLanguage
determineLanguage: (lang: string) => string
Type declaration
-
-
Parameters
Returns string
existsDictionary
existsDictionary: (lang: string) => boolean
Type declaration
-
-
Parameters
Returns boolean
existsGrammar
exists
Grammar: (lang: string, grammarType?: GrammarType) => boolean
Type declaration
-
-
Parameters
Returns boolean
existsSpeechConfig
existsSpeechConfig: (lang: string) => boolean
Type declaration
-
-
Parameters
Returns boolean
fixLang
fixLang: (providerName: string, langCode: string) => string
Type declaration
-
- (providerName: string, langCode: string): string
-
Parameters
-
providerName: string
-
langCode: string
Returns string
getDefaultLanguage
getDefaultLanguage: () => string
getDictionary
getDictionary: () => {}
getLanguage
getLanguage: () => string
getLanguageConfig
getLanguageConfig: (pluginId: string, feature: string, separator?: string) => any
Type declaration
-
- (pluginId: string, feature: string, separator?: string): any
-
Parameters
-
pluginId: string
-
feature: string
-
Optional separator: string
Returns any
getLanguages
getLanguages: () => string[]
getSpeechConfig
getSpeechConfig: () => {}
getText
getText: (textVarName: string) => string
Type declaration
-
- (textVarName: string): string
-
Parameters
Returns string
init
init: (lang: string) => any
setLanguage
setLanguage: (lang: string, doNotLoadResources?: boolean) => string
Type declaration
-
- (lang: string, doNotLoadResources?: boolean): string
-
Parameters
-
lang: string
-
Optional doNotLoadResources: boolean
Returns string