Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
The internationalized program is flexible; it allows the end user to specify a language and a country on the command line. In the following example the language code isfr
(French) and the country code isFR
(France), so the program displays the messages in French:In the next example the language code is% java I18NSample fr FR Bonjour. Comment allez-vous? Au revoir.en
(English) and the country code isUS
(United States) so the program displays the messages in English:% java I18NSample en US Hello. How are you? Goodbye.
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2002 Sun Microsystems, Inc. All rights reserved.