Quick start

This section summarizes the process of adding or changing a locale definition. For more detailed information on the locales file and how to edit it, read the remainder of the chapter.

StepsTo add or change a locale definition

  1. Make a copy of the locales file (locales.dat), found in the locales directory, in case problems occur with the edited version.

  2. Edit the locales file: Add or change the desired entries in the appropriate platform-specific section.

  3. Update localization environment variables (LC_ALL, LC_CTYPE, LC_MESSAGE, LC_TIME, LANG) as appropriate.

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