Simplified Chinese Solaris User's Guide

How to Set the Default Locale

  1. Become superuser.

  2. Edit the /etc/default/init file.

  3. Add or update the LANG variable with the appropriate locale.


    You can set the LANG variable with one of the following locales: zh, zh.GBK, zh_CN.GB18030, zh.UTF-8

  4. Instruct all users to exit CDE.

  5. Kill the dtconfig process.

    # /usr/dt/bin/dtconfig -kill
  6. Reboot the system.

    # reboot