Sunday, February 8, 2009

SCEA1.5 - Internationalization

Internatinalization & Localization:
Internationalization: Adapting a program for use in any country is called Internationalization. Localization: The process of adapting a program for use in a particular country is referred to as Localization.

Other classes related to Internationalization:
Locale - Language (en, es), Regional (GB,US,), Variant (WIN, POSIX)
java.util.Properties,
java.util.ResourceBundle,
java.util.PropertyResourceBundle,
InputStreamReader(getEncoading()),
OutputStreamWriter,
java.text.NumberFormat,
java.text.MessageFormat(format()),
java.text.DateFormat,
java.text.SimpleDateFormat,
java.text.Collator

Servlet - setContentType(), setLocale();
JSP - pageEncoading, contentType() (for default encoading file.proprties)

Java supported font types - Serif, Sans-serif, Monospaced, Dialog and DialogInput (font.properties)