Editing the locales.dat File

Use a text editor to make edits to the locales.dat file.


Make a copy of the original file, in case you have problems with the resulting edited version.

  1. Using a text editor such as Notepad, open the locales.dat file copy.
  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 you want to use.
    Note: The value for platform_locale must match the value required by your operating system. If the locales definitions in your system configuration files do not match the SAP locale definitions, your applications do not run properly.
    For example, for Open Client messages to appear in French, when SAP ASE is using the Roman8 character set, check the locales.dat entries for your platform and look for:
    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.