About the directory
About the charsets directory
About the locales.dat file
Format of locales.dat file entries
Configuration Guide
CHAPTER 7
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.
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.
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.
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:
Customizing Localization for Adaptive Server
95
Need help?
Do you have a question about the Adaptive Server and is the answer not in the manual?
Questions and answers