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
.
| $Language="lang" | set the language to use |
| $Language={"lang1","lang2",...} | set a sequence of languages to try |
Setting the language to use for messages.
| In[1]:= |
| Out[1]= |
| symbol::tag | the default form of a message |
| symbol::tag::Language | a message in a particular language |
Messages in different languages.
When built-in Mathematica 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 built-in 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.
