Editing the locales.dat file
Changing the localization configuration
Configuration Guide
CHAPTER 7
Before beginning the edit, make a copy of the original file, in case you have
problems with the resulting edited version.
To edit the locales.dat file:
1
Open the locales.dat file copy in a text editor.
2
Find the section enclosed in brackets:
•
For Sun Solaris, [sun_svr4]
•
For HP, [hp ux]
•
For IBM, [aix]
3
Make sure the section contains an entry for the language (syb_language)
and character set (syb_charset) combination that you want to use.
The value for platform_locale must match the value required by
Note
your operating system. If the locales definitions in your system
configuration files do not match the Sybase locale definitions, your
applications will not run properly.
For example, if you want your Open Client messages to appear in French,
and Adaptive Server is using the ROMAN8 character set, you would
check the locales.dat entries for your platform and look for the following
entry:
locale = fr_FR, french, roman8
4
Add the required entry or modify an existing entry.
5
Save the changes, if any, and exit the text editor.
By default, the Adaptive Server and Backup Server configurations uses the
English locale settings localization, which include:
•
Character set definition files for Western European character sets
•
Sort order definition files for Western European character sets
•
us_english system message files
Customizing Localization for Adaptive Server
97
Need help?
Do you have a question about the Adaptive Server and is the answer not in the manual?