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:

Introduced in 1996
 (3.0)
 |
Updated in 2017
 (11.1)