TrText_GetSpellingLanguages |
Returns a list of all supported spelling languages.
Syntax
TrText_GetSpellingLanguages ( switches )
Parameters
switches | not used, reserved for future use. Leave blank or put "-Unused" |
Returned Result
Data type returned
Text
Result
Returns a list of all supported spelling languages. Each item is separated by a return.
Originated in
Troi Text Plug-in 4.0
Compatibility
FileMaker Pro 17 to FileMaker Pro 21 (2024)
Considerations
Note that the spelling functions are available for Windows 8 and later (and all Mac OS versions).
Example
Set Variable [ $result ; TrText_GetSpellingLanguages ( "-unused" ) ]
The result are codes for the spelling language variants. The result will be dependent on the configured languages on your system, but it might return for example:
en-US
en-GB
en-AU
fr-FR
nl-BE
Here “en-US” means The English language, spelled according to the rules of the USA.
Related functions
TrText_CheckSpelling |
TrText_LearnSpelling |
TrText_SetSpellingIgnoreList |
TrText_UnlearnSpelling |
Related topics
Troi Text Plug-in online help (overview)