Product Home Page | Developer Site | Version | |
You might want to use the Sun ONE ASP Server to serve Web pages in languages other than United States (US) English, or in countries other than the United States. If so, you can change the locale setting. When you do this, the ASP Server uses the appropriate code page for the language associated with the locale specified. It also correctly formats dates, numbers, and currency according to the locale. Depending on your platform, you can specify locales for a number of languages.
The following table lists supported languages, and the corresponding LCIDs (Local Language Identifiers) and code pages. The table is followed by the procedure that describes how to configure international support.
Language
|
LCID
|
Code page
|
---|---|---|
English - US
|
1033
|
1252
|
English - British
|
2057
|
1252
|
Dutch
|
1043
|
1252
|
French
|
1036
|
1252
|
German
|
1031
|
1252
|
Japanese Shift-JIS
|
1041
|
932
|
Simplified Chinese
|
2052
|
936
|
Spanish
|
1034
|
1252
|
To configure international support
Open the Administration Console (see Accessing the Administration Console).
On the ASP Server tab of the Server Management page, click Settings.
The Server Settings page displays.
In the Locale drop-down list, select the desired locale (the locales listed are the locales that are installed on the server). Click Save to save your changes, or Cancel to revert to the settings that were last saved.
The Server Management page displays.
To put your changes into effect, restart the ASP Server by clicking Restart.
Note | Restarting the ASP Server resets all Session and Application variables. |
See also:
Developing International Applications
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.