Returns a list of all supported spelling languages.
TrText_GetSpellingLanguages ( switches )
|not used, reserved for future use. Leave blank or put "-Unused"
Data type returned
Returns a list of all supported spelling languages. Each item is separated by a return.
Troi Text Plug-in 4.0
FileMaker Pro 16 to 19
Note that the spelling functions are available for Windows 8 and later (and all Mac OS versions).
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:
Here “en-US” means The English language, spelled according to the rules of the USA.