AutoDetectSourceLanguageConfig class
Language auto detect configuration.
Properties
mode | |
properties |
Methods
from |
|
from |
|
from |
Property Details
mode
void mode
Property Value
void
properties
Method Details
fromLanguages(string[])
static function fromLanguages(languages: string[]): AutoDetectSourceLanguageConfig
Parameters
- languages
-
string[]
Comma-separated string of languages (eg. "en-US,fr-FR") to populate properties of config.
Returns
Instance of AutoDetectSourceLanguageConfig
fromOpenRange()
static function fromOpenRange(): AutoDetectSourceLanguageConfig
Returns
Instance of AutoDetectSourceLanguageConfig
fromSourceLanguageConfigs(SourceLanguageConfig[])
static function fromSourceLanguageConfigs(configs: SourceLanguageConfig[]): AutoDetectSourceLanguageConfig
Parameters
- configs
SourceLanguageConfigs to populate properties of config.
Returns
Instance of AutoDetectSourceLanguageConfig