Skip to main content

TrText_GetSpellingLanguages (function reference)

By October 1, 2024October 10th, 2024Online 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 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 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 17 to 2024 –> TrText_GetSpellingLanguages (textp4268) 2024-1010 14:44:58