Traditional Chinese Solaris System Administrator's Guide

Changing the Default Locale

You can change the default locale system-wide with the following procedure.

  1. Edit the /etc/default/init file by adding or changing the line.

    Substitute C, zh_TW zh_TW.BIG5, zh_TW.UTF-8, zh_HK.BIG5HK or zh_HK.UTF-8 for locale.


    LANG=locale 
    
  2. Have all users exit CDE.

  3. Type the following commands:


    % su
    # /usr/dt/bin/dtconfig -kill
    
  4. Type the following commands:


    % su
    # reboot