System Administration Guide: Advanced Administration

ProcedureHow to Determine If a Locale is Installed on a System

  1. Become superuser or assume an equivalent role.

    Roles contain authorizations and privileged commands. For more information about roles, see Configuring RBAC (Task Map) in System Administration Guide: Security Services.

  2. Determine if a locale is installed on your system using the localeadm command. The -q option and a locale queries the system to see if that locale is installed on the system. To see if the Central European region (ceu) is installed on your system, for example:

    # localeadm -q ceu
    locale/region name is ceu
    Checking for Central Europe region (ceu)
    The Central Europe region (ceu) is installed on this system