Adding or changing entries

To add a new entry to the locales file or to change an existing entry:

  1. Choose a value for locale_name.

    locale_name can have any value. Sybase recommends names of the form language.territory.

  2. 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.

  3. 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.

  4. 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).

  5. In the appropriate platform-specific section of the locales file, type in or change the appropriate entry.

After you make the change: