To add a new entry to the locales file or to change an existing entry:
Choose a value for locale_name.
locale_name can have any value. Sybase recommends names of the form language.territory.
Determine the value to use for language_name.
When a Sybase language module is installed, a subdirectory for the language is created in the locales/message directory of the Sybase directory tree. language_name must correspond to this subdirectory’s name.
Determine the value to use for charset_name.
When a Sybase language module is installed, subdirectories for each supported character set are created in the charsets directory of the Sybase directory tree. charset_name must correspond to one of these subdirectory names.
Determine the value to use for sortorder_name (if you want a sort order other than binary).
The charsets/charset_name subdirectory contains the sort order (*.srt) files for the character set. sortorder_name must correspond to one of these file’s names (without the .srt).
In the appropriate platform-specific section of the locales file, type in or change the appropriate entry.
After you make the change:
Update localization environment variables (LC_ALL, LC_CTYPE, LC_MESSAGE, LC_TIME, LANG) as appropriate.
If you have added a new locale name and you want existing applications to use this new name in cs_locale calls, edit and recompile the applications as appropriate.