is an option for Cell that determines in what category of language the contents of the cell should be assumed to be for purposes of spell checking and hyphenation.


  • Possible settings for LanguageCategory are:
  • "Formula"mathematical formula
    "Input"Wolfram Language input
    "NaturalLanguage"human natural language
    "Output"Wolfram Language output
    Nonedo no spell checking or hyphenation
  • LanguageCategory is normally set to "NaturalLanguage" for text cells, "Input" for input cells, "Output" for output cells, and None for print and message cells.
  • LanguageCategory is also used by the system to help determine the behavior of automatic completion and code highlighting features.
  • LanguageCategory is more often set at the level of styles than at the level of individual cells.


Basic Examples  (1)

Create a document with cells that have different LanguageCategory settings:

Syntax coloring is displayed only in cells with LanguageCategory->"Input":

The menu command Edit Check Spelling finds misspellings only in "NaturalLanguage" cells:

Introduced in 1999
Updated in 2014