International Messages

The standard set of messages for builtin Wolfram Language functions are written in American English. In some versions of the Wolfram System, messages are also available in other languages. In addition, if you set up messages yourself, you can give ones in other languages.

Languages in the Wolfram System 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 the Wolfram System as .

$Language="lang"set the language to use
$Language={"lang1","lang2",} set a sequence of languages to try

Setting the language to use for messages.

This tells the Wolfram Language to use Frenchlanguage versions of messages.
In[1]:=
Click for copyable input
Out[1]=
If your version of the Wolfram System has Frenchlanguage messages, the message generated here will be in French.
In[2]:=
Click for copyable input
Out[2]=
symbol::tagthe default form of a message
symbol::tag::Languagea message in a particular language

Messages in different languages.

When builtin Wolfram Language functions generate messages, they look first for messages of the form , in the language specified by $Language. If they fail to find any such messages, then they use instead the form without an explicit language specification.

The procedure used by builtin functions will also be followed by functions you define if you call Message with message names of the form . If you give explicit languages in message names, however, only those languages will be used.