Traditional Chinese Solaris System Administrator's Guide

Setting the .OWdefaults File

The .OWdefaults file in the user's home directory specifies the language used for several Solaris features: display language, numbers, time/date, messages, and other basic Traditional Chinese OpenWindows properties. Some other entries in .OWdefaults affect the behavior and appearance of the user's OpenWindows user interface.

Each user's .OWdefaults file should contain the following five lines before running the Traditional Chinese OpenWindows environment. So add these five lines at the end of users' existing .OWdefaults files. (Refer to the "Using Localization on the Workspace Properties Worksheet" section in Traditional Chinese Solaris User's Guide.)


OpenWindows.BasicLocale:     zh_TW
OpenWindows.DisplayLang:     zh_TW
OpenWindows.InputLang:       zh_TW
OpenWindows.TimeFormat:      zh_TW
OpenWindows.NumericFormat:   zh_TW

These fields can be set to zh_TW, for Traditional Chinese, or C, for English/ASCII operation. These five Traditional Chinese OpenWindows variables have the following properties:

Property 

Description 

BasicLocale

Specifies the country (locale) of the user interface. With the basic locale set, a user can set other specific settings, such as input language.  

DisplayLang

Specifies the language for labels, messages, menu items, help text, and other displays. 

InputLang

Specifies the language used for keyboard input.  

TimeFormat

Specifies the representation format of the time and date.  

NumericFormat

Specifies the character system for number input/display.  

These five fields can be added to an .OWdefaults file by using the localization category (Locale) in the Workspace Properties worksheet as described in the "Using Localization on the Workspace Properties Worksheet" section in Traditional Chinese Solaris User's Guide.

.xinitrc File

If you want to maintain your own .xinitrc, update it according to $OPENWINHOME/lib/Xinitrc.