Traditional Chinese Solaris User's Guide

How to Set a System-Wide Default Locale

  1. Become superuser.

  2. In the /etc/default/init file, add or update the LANG variable with the appropriate locale.


    LANG=locale
    

    You can set the LANG variable with one of the following locales: C, zh_TW, zh_TW.BIG5, zh_TW.UTF-8, zh_HK.BIG5HK, zh_HK.UTF-8

  3. Instruct all users to exit CDE.

  4. Kill the dtconfig process.


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


    # reboot