Environment variables used for localization

Open Client and Open Server use the environment variables shown in Table A-2 during localization.

Table A-2: Environment variables used for localization

Environment variable

Set it to a locale name that indicates

Used during

LC_ALL

Language, character set, and collating sequence to use for messages, datatype conversions, and sorting.

Initial localization, custom localization

LANG

Language, character set, and collating sequence to use for messages, datatype conversions, and sorting.

Open Client and Open Server products search for LANG if they cannot find LC_ALL.

Initial localization

LC_COLLATE

Collating sequence (sort order) to use when sorting and comparing character data.

Custom localization

LC_CTYPE

Character set to use for datatype conversions.

Custom localization

LC_MESSAGE

Language to use for messages.

Custom localization

LC_TIME

Date and time data representation to use for a datetime string, such as date and time formats, names in the native language, and month and day abbreviations.

Custom localization

The LC_* environment variables are POSIX standard environment variables and can be used by non-Sybase applications. Verify that the locales.dat file lists the same locale names as are used by the environment variables of the non-Sybase application.