Objectives:
U master the internationalization of Java Web applications;
U controls the formatting of numbers in the page information;
U to format the date and time in the page information.
With the globalization of the global economy, the business of many companies involves multiple countries and languages, which requires the company's Web applications to support multiple languages at the same time, the system determines the language used for your service based on your language, which is called internationalization. For example, if the operating system you use is Chinese, the website you see will be Chinese. If the operating system you are using is in Japanese version, the website you see will be in Japanese version. This chapter introduces how to internationalize the user management interface.
11.1 target demonstration
11.1.1 Function Description
The preceding user management interface uses Chinese characters. Now you want to select your own language. If you select Chinese, the Chinese interface is displayed. If you select English, the English interface is displayed. If you do not select a language, it is displayed based on the default language of your browser.
11.1.2 Running Effect
If the default language of your browser is Chinese, see user management interface 11.1. If the default language of your browser is English, see user management interface 11.2.
Figure 11.1 Default User Management page