Language connection parameter [LANG]

Function

Specifies the language of the connection.

Usage

Anywhere

Values

The two-letter combination representing a language. For example, setting LANG=DE sets the default language to German.

Default

The language specified by (in order) the SALANG environment variable or the installer.

Description

This connection parameter establishes the language for the connection. Any errors or warnings from the server are delivered in the specified language, assuming that the server supports the language.

If no language is specified, the default language is used. The default language is the language specified by, in order, the SALANG environment variable or the installer.

For more on language codes, see “Setting locales”.

This connection parameter only affects the connection. Messages returned from SQL Anywhere's various tools and utilities appear in the default language, while the messages returned from the server appear in the connection's language.

See also

“How connection parameters work”.