Netra j 2.0 Administrator's Guide

Setting the Locale

You can set the user's locale to a language other than English in the JavaStation user interface, help text, and error messages.

JavaOS supports the locales listed in Table 11-2.

Table 11-2 JavaStation Locale Settings

Language  

Locale Setting  

German 

de 

English 

en 

Spanish 

es 

French 

fr 

Italian 

it 

Japanese 

ja 

Korean 

ko 

Swedish  

sv 

Chinese  

zh 

JavaOS also supports the language variants American English and Simplified Chinese, shown in Table 11-3.

Table 11-3 JavaStation Country Settings

Country  

Country Setting  

United States 

US 

Republic of China  

TW 

To Change the Locale Setting
  1. Set the user.language property.


    -Duser.language=locale
    

locale is one of the locale settings listed in Table 11-2.

  1. If needed, set the user.country property.


    -Duser.country=
    country
    

country is one of the country settings listed in Table 11-3.

For instructions on setting JavaOS properties, see Chapter 9, Setting JavaOS Properties .

Modifying the Languages Displayed at Login

The localized version of the JavaStation software supports all the locales described in "Setting the Locale"." At login, the user is asked to choose one of these locales.

If you want to restrict or add to the locales presented at login, especially if you will be running an application that is localized for a language not listed in "Setting the Locale"," you will need to modify the login.LocaleList property.

To Modify the Languages Displayed at Login
  1. Set the following JavaOS system property:


    -Dlogin.LocaleList=locale-1
    ;locale-2;
    ... ;locale-n 
    

    The default value of this property is:


    -Dlogin.LocaleList=en_US;de;es;fr;it;ja;ko;sv;zh;zh_TW