<< Click to display table of contents >> TRVSpellChecker.Language |
Specifies the active spell checking language (dictionary).
property Language: String;
Assigning value to this property changes the active dictionary.
You can assign:
▪one of AvailableLanguages
▪an empty string; in this case, the first available language is used.
This property returns the last assigned value.
The actual used language (dictionary) is returned in CurrentLanguage property. If you assigned a correct value to Language, CurrentLanguage becomes equal to Language.
In Windows, languages are identified by locale codes according to BCP 47 standard, like 'en-US', 'ru-RU'.
For other OS, underscore characters ('_') are used instead of dashes ('-'), like 'en_US' or 'ru_RU'.
When assigning to Language property, the component automatically adjusts '-' and '_' characters before passing to the spelling checking engine.
Default value
'' (empty string)
See alsoe