HP-UX 11.0 - 11i Internationalization Features White Paper

Locales
Changed locale and localedef Commands [11i v1.5]
Chapter 3
45
A new option, -A, lists all the locale libraries regardless of the flavors and versions. This list includes locales
in these directories:
/usr/lib/nls/loc/locales.2
/usr/lib/nls/loc/pa20_64/locales.2
/usr/lib/nls/loc/hpux32/locales.1
/usr/lib/nls/loc/hpux64/locales.1
Changes to localedef Command
Beginning in 11.0, localedef builds both 32-bit and 64-bit locale libraries on 32-bit and 64-bit systems for
PA. On Itanium-based systems, both 32-bit and 64-bit libraries are built for IA only. The generated IA locales
are installed as described in “Directory Structure Changes” on page 44.
Compatibility
The default behavior of the locale command on IPF systems lists IA locales instead of PA locales. PA
applications that list PA locales will see different results on IPF and PA systems.
The localedef command is not able to generate PA locales on an Itanium-based system. If PA locales are
needed, build them on a PA system and move them to the Itanium-based system.