Sun Management Center 3.6 Release Notes

Localization Is Not Supported for Last Entry in locale -a (6339359)

If the user's locale is the last entry in the output of locale -a, Sun Management Center is not localized for that user.

When the following two conditions are met, the user has this localization issue.

  1. The user sees the following message on the terminal after executing a command under <Install_image>/disk1/sbin or under /opt/SUNWsymon/sbin.

    “LANG=xxxxx is either not valid or not installed. Defaulting to C”

    xxxxx is the locale that the user set.

    This means that GUI or CLI messages are not localized but available only in English language.

  2. The locale that the user set for executing the above command is the last entry in the output of locale -a.

Workaround: Create a dummy locale which appears last in the locale -a output. Follow these steps:

  1. Become superuser by typing:

    % su -

  2. Go to locale directory by typing:

    cd /usr/lib/locale

  3. Create a copy of “C” locale directory to a name that will appear last in the output of locale -a.

    cp -r ./C ./zzzz

  4. Check the output of locale -a to verify that the new locale appears last.