Introduction |
The internationalized program is flexible, because it allows the end-user to specify their language and country on the command line. In the following example, the program displays the messages in French, because the language code isfr
(French), and the country code isFR
(France):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):% java I18NSample en US Hello. How are you? Goodbye.
Introduction |