A locale setting is required to enable a language other than U.S. English to be used in the JavaStation user interface, help text, and error messages.
The JavaOS software supports the locales listed in the table below.
Table 10-2 JavaStation Locale Settings
Language |
Locale Setting |
---|---|
Arabic | ar |
Catalan | ca |
Chinese | zh |
Czech | cs |
English | en |
French | fr |
German | de |
Hebrew | iw |
Hungarian | hu |
Italian | it |
Japanese | ja |
Korean | ko |
Polish | pl |
Portuguese | pt |
Russian | ru |
Spanish | es |
Swedish | sv |
Thai | th |
The JavaOS software also supports the language variants shown in the table below.
Table 10-3 JavaStation Country Settings
Country |
Country Setting |
---|---|
Israel | IL |
Republic of China | TW |
Thailand | TH |
United States | US |
Set the user.language property:
-Duser.language=locale
where locale is one of the JavaStation locale settings listed in the first table above.
If needed, set the user.country property:
-Duser.country=country
where country is one of the JavaStation country settings listed in the second table above.
For complete instructions on setting JavaOS properties, see Chapter 4, JavaOS Properties .
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 must modify the javaos.loginLocaleList property.
where each locale is defined using one of the two-letter codes that define user.language followed by (in some cases) an underscore character and one of the two-letter codes that define user.country.
The default value of this property is:
-djavaos.loginLocaleList=en_US
Thus by default U.S. English is the only language choice available at login.