Returns whether the specified language is in the Spelling pop-up list.
- macOS 10.0+
The requested language.
true if the language is available in the pop-up list, otherwise
Listing 1 shows how languages can be specified in language. If the language specified is listed in the user’s list of preferred languages, the spell checker uses that language to accomplish its task.
To learn about the strings you can use to specify a language in
language, see Language and Locale Designations in Internationalization and Localization Guide.