Sybase DC35823-01-1500-04 Server User Manual


 
CHAPTER 7 Customizing Localization for Adaptive Server
Configuration Guide 95
About the directory
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.
About the charsets directory
The files in $SYBASE/charsets/charset_name contain information related to
each particular character set, such as the definition of the character set and any
sort orders available for that character set.
About the locales.dat file
You can edit the locales.dat file to:
Change the default language or character set for a platform, or
Add new associations between platform locale names and Sybase
language and character set names.
Format of locales.dat file entries
Each entry in the locales.dat file links a platform-specific locale definition to a
Sybase language and character set combination. Each entry has the following
format:
locale = platform_locale, syb_language, syb_charset
where: