Language

Language

is an option that specifies the language to use.

Details

  • Language is an option to textual and linguistic functions such as DictionaryWordQ, PalindromeQ, TextRecognize, etc., as well as a global front end option.
  • The value of the Language option is a string, such as "English", "Spanish". Some text-related functions also accept a "Language" entity or the value Automatic.
  • A typical default value is $Language.
  • The front end default setting is taken from the language set by your operating environment. If the language is not supported, then Language->"English" is the default setting.
  • The front end setting affects many aspects of the system, including where configuration files, text resource files, system resource files and documentation files are located. Each location containing language-specific files will contain subdirectories named after the language they contain. For example, a directory called "Japanese" will contain Japanese text resources and documentation. It is possible to have files for several different languages installed at the same time, with the Language option selecting which language is active.
  • For some kinds of resources, a new front end setting does not take effect until the front end is restarted.

Examples

open allclose all

Basic Examples  (5)

Look up the Russian alphabet:

Remove diacritics using Spanish language rules:

Compare with English language rules:

Get three random words in German:

Test whether a word exists in different languages:

Query the current user-interface language:

Scope  (1)

Query which functions take a Language option:

Wolfram Research (1996), Language, Wolfram Language function, https://reference.wolfram.com/language/ref/Language.html (updated 2017).

Text

Wolfram Research (1996), Language, Wolfram Language function, https://reference.wolfram.com/language/ref/Language.html (updated 2017).

CMS

Wolfram Language. 1996. "Language." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2017. https://reference.wolfram.com/language/ref/Language.html.

APA

Wolfram Language. (1996). Language. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/Language.html

BibTeX

@misc{reference.wolfram_2023_language, author="Wolfram Research", title="{Language}", year="2017", howpublished="\url{https://reference.wolfram.com/language/ref/Language.html}", note=[Accessed: 18-March-2024 ]}

BibLaTeX

@online{reference.wolfram_2023_language, organization={Wolfram Research}, title={Language}, year={2017}, url={https://reference.wolfram.com/language/ref/Language.html}, note=[Accessed: 18-March-2024 ]}