This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 Documentation / Mathematica / The Mathematica Book / Principles of Mathematica / Textual Input and Output  /

2.8.22 International Messages

The standard set of messages for built-in Mathematica functions are written in American English. In some versions of Mathematica, messages are also available in other languages. In addition, if you set up messages yourself, you can give ones in other languages.
Languages in Mathematica are conventionally specified by strings. The languages are given in English, in order to avoid the possibility of needing special characters. Thus, for example, the French language is specified in Mathematica as "French".

Setting the language to use for messages.

  • This tells Mathematica to use French-language versions of messages.
  • In[1]:= $Language = "French"

    $Language::noset: Your current license configuration will not allow $Language to be changed to French. Please contact Wolfram Research for upgrade information.


  • If your version of Mathematica has French-language messages, the message generated here will be in French.
  • In[2]:= Sqrt[a, b, c]

    Out[2]= Sqrt[a, b, c]

    Sqrt::argx: Sqrt est appelée avec 3 arguments;
    il faut y avoir 1.

    Messages in different languages.

    When built-in Mathematica functions generate messages, they look first for messages of the form s::t::Language, in the language specified by $Language. If they fail to find any such messages, then they use instead the form s::t without an explicit language specification.
    The procedure used by built-in functions will also be followed by functions you define if you call Message with message names of the form s::t. If you give explicit languages in message names, however, only those languages will be used.