JDK Tutorials - Herong's Tutorial Notes
Dr. Herong Yang, Version 4.32, 2006

Internationalization

Part:   1  2   3  4  5 

JDK Tutorials - Herong's Tutorial Notes © Dr. Herong Yang

Internationalization

Character Set and Encoding

Socket Communication

Document Object Model (DOM)

XSD Validation in Java

XSL - Transformer in Java

JCA - Private and Public Key Pairs

JCE - Secret Key

SSL (Secure Socket Layer)

SSL - Client Authentication

... Table of Contents

(Continued from previous part...)

   es, , , Spanish
   es, AR, , Spanish (Argentina)
   es, BO, , Spanish (Bolivia)
   es, CL, , Spanish (Chile)
   es, CO, , Spanish (Colombia)
   es, CR, , Spanish (Costa Rica)
   es, DO, , Spanish (Dominican Republic)
   es, EC, , Spanish (Ecuador)
   es, ES, , Spanish (Spain)
   es, GT, , Spanish (Guatemala)
   es, HN, , Spanish (Honduras)
   es, MX, , Spanish (Mexico)
   es, NI, , Spanish (Nicaragua)
   es, PA, , Spanish (Panama)
   es, PE, , Spanish (Peru)
   es, PR, , Spanish (Puerto Rico)
   es, PY, , Spanish (Paraguay)
   es, SV, , Spanish (El Salvador)
   es, UY, , Spanish (Uruguay)
   es, VE, , Spanish (Venezuela)
   et, , , Estonian
   et, EE, , Estonian (Estonia)
   fi, , , Finnish
   fi, FI, , Finnish (Finland)
   fr, , , French
   fr, BE, , French (Belgium)
   fr, CA, , French (Canada)
   fr, CH, , French (Switzerland)
   fr, FR, , French (France)
   fr, LU, , French (Luxembourg)
   hi, IN, , Hindi (India)
   hr, , , Croatian
   hr, HR, , Croatian (Croatia)
   hu, , , Hungarian
   hu, HU, , Hungarian (Hungary)
   is, , , Icelandic
   is, IS, , Icelandic (Iceland)
   it, , , Italian
   it, CH, , Italian (Switzerland)
   it, IT, , Italian (Italy)
   iw, , , Hebrew
   iw, IL, , Hebrew (Israel)
   ja, , , Japanese
   ja, JP, , Japanese (Japan)
   ko, , , Korean
   ko, KR, , Korean (South Korea)
   lt, , , Lithuanian
   lt, LT, , Lithuanian (Lithuania)
   lv, , , Latvian (Lettish)
   lv, LV, , Latvian (Lettish) (Latvia)
   mk, , , Macedonian
   mk, MK, , Macedonian (Macedonia)
   nl, , , Dutch
   nl, BE, , Dutch (Belgium)
   nl, NL, , Dutch (Netherlands)
   no, , , Norwegian
   no, NO, , Norwegian (Norway)
   no, NO, NY, Norwegian (Norway,Nynorsk)
   pl, , , Polish
   pl, PL, , Polish (Poland)
   pt, , , Portuguese
   pt, BR, , Portuguese (Brazil)
   pt, PT, , Portuguese (Portugal)
   ro, , , Romanian
   ro, RO, , Romanian (Romania)
   ru, , , Russian
   ru, RU, , Russian (Russia)
   sh, , , Serbo-Croatian
   sh, YU, , Serbo-Croatian (Yugoslavia)
   sk, , , Slovak
   sk, SK, , Slovak (Slovakia)
   sl, , , Slovenian
   sl, SI, , Slovenian (Slovenia)
   sq, , , Albanian
   sq, AL, , Albanian (Albania)
   sr, , , Serbian
   sr, YU, , Serbian (Yugoslavia)
   sv, , , Swedish
   sv, SE, , Swedish (Sweden)
   th, , , Thai
   th, TH, , Thai (Thailand)
   th, TH, TH, Thai (Thailand,TH)
   tr, , , Turkish
   tr, TR, , Turkish (Turkey)
   uk, , , Ukrainian
   uk, UA, , Ukrainian (Ukraine)
   zh, , , Chinese
   zh, CN, , Chinese (China)
   zh, HK, , Chinese (Hong Kong)
   zh, TW, , Chinese (Taiwan)
   en, , , English
   en, US, , English (United States)

Sorry about the length of the output. But it might be useful as a reference source.

The output shows that I can make up a new locale with any combination of language and country, like "en, CN, , , English (China)", or "ll, CC, , , ll (CC)".

Internationalization on Predefined Classes

Locale Sensitive Operations: Operations that require to know a user's locale in order to tailor information for the user. For example, formatting a calendar date into a string is a locale sensitive operation, because for an English speaking user in US, a calendar date should be formatted as "Mon Oct 21 20:54:05 EDT 2002"; but for a French speaking user, the same date should be formatted as "lun. oct. 21 20:54:05 EDT 2002".

Separated formatter classes are provided to handle locale sensitive operations related to some predefined classes. Here is a list of formatter classes:

Formatter          Data	               Operations
Class              Class
SimpleDateFormat   GregorianCalendar   Formating and parsing
DecimalFormat      Number              Formating and parsing

(Continued on next part...)

Part:   1  2   3  4  5 

Dr. Herong Yang, updated in 2006
JDK Tutorials - Herong's Tutorial Notes - Internationalization