TrText_GetSpellingLanguages (function reference)

By November 1, 2017 November 13th, 2017 Online 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

switchesnot 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 12 to 16

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 12 to 16 –> TrText_GetSpellingLanguages (textp4268) 2017-1113 11:31:04