Skip to main content

TrText_GetSpellingLanguages (function reference)

By December 1, 2021December 21st, 2021Online Help, Troi Text Plug-in
Troi Text Plug-in > Functions reference > TrText_GetSpellingLanguages
Troi Text Plug-in for FileMaker Pro

TrText_GetSpellingLanguages

Returns a list of all supported spelling languages.

SyntaxFunction badge

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 16 to 19

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 functionsFunction badge

TrText_CheckSpelling
TrText_LearnSpelling
TrText_SetSpellingIgnoreList
TrText_UnlearnSpelling

Related topics

Troi Text Plug-in online help (overview)


Online Help Page for Troi Text Plug-in for 16 to 19 –> TrText_GetSpellingLanguages (textp4268) 2021-1221 15:05:24