The $SYBASE/locales directory contains a subdirectory for each available language. Each language subdirectory contains a subdirectory for each character set available with that language.
The .loc files in these subdirectories enable Adaptive Server or Backup Server to report errors in a specific language, encoded in a specific character set.
There are a variety of .loc files in each subdirectory. Most of these files contain translated error messages for a specific product or utility.
The common.loc file in each subdirectory contains localized information, such as local date, time, and currency formatting, that is used by all products.
The locales.dat file contains entries that associate platform-specific locale names with Sybase language and character-set combinations.