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 Simplified 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 Simplified 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 Simplified Chinese Solaris User's Guide.)
OpenWindows.BasicLocale: |
zh |
OpenWindows.DisplayLang: |
zh |
OpenWindows.InputLang: |
zh |
OpenWindows.TimeFormat: |
zh |
OpenWindows.NumericFormat: |
zh |
These fields can be set to zh, for Simplified Chinese, or C, for English/ASCII operation. These five Simplified Chinese OpenWindows variables have the following properties:
Table A-1 Properties Set in .OWdefaults File
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 Simplified Chinese Solaris User's Guide.
If you want to maintain your own .xinitrc, update it according to $OPENWINHOME/lib/Xinitrc.