The locales file has 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. locale_name is usually vendor-specified, based on POSIX terminology. Comments at the end of the locales file list POSIX values for locale names.
, (comma) is the list separator character for the file.
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. sortorder_name is optional. If not specified, Open Client/Server products use a binary collating sequence.
The following locales file entry specifies a French locale. Because no sort order is specified, the default sort order “binary” will be used with this locale:
locale = fr.FR.88591, french, iso_1