locales.dat contains platform-specific sections, each of which contains predefined locale definition entries. These entries vary by platform, but all sections include an entry defining a “default” locale.
Locale definition entries have the form:
locale = locale_name, language_name, charset_name [,sortorder_name]
where:
locale_name is the name of the locale definition. The default values for locale_name are vendor-specified and based on POSIX terminology. Comments at the end of the locales.dat file list POSIX values for locale names.
language_name is the subdirectory name by which Sybase products recognize the language.
charset_name is the subdirectory name by which Sybase products recognize the character set.
sortorder_name is the file name by which Sybase products recognize the collating sequence (optional).
The following locales.dat file entry specifies a French locale. Because no sort order is specified, the default sort order “binary” is used with this locale:
locale = fr.FR.88591, french, iso_1