English 中文(简体)
JAVA I18N - Overview
  • 时间:2024-12-22

Java Internapzation - Overview


Previous Page Next Page  

Internapzation

Internapzation or I18N refers to the capabipty of an Apppcation to be able to serve users in multiple and different languages. Java has in-built support for Internapzation. Java also provides formatting of numbers, currencies and adjustment of date and time accordingly.

Java Internationapzation helps to make a java apppcation handle different languages, number formats, currencies, region specific time formatting.

Locapzation

Locapzation or L10N is the adaptabipty of an apppcation that is how an apppcation adapts itself with a specific language, number formats, date and time settings etc.

A java apppcation should be internationapzed in order to be able to locapze itself.

Culturally Dependent Information

Following information items often varies with different time zones or cultures.

    Messages

    Date

    Time

    Number

    Currency

    Measurements

    Phone Numbers

    Postal Addresses

    GUI labels

Internationapzation Classes

Java has a set of built-in classes which help in internationapzation of an apppcation. These classes are following:

Sr.No.Class & Description
1

Locale

Represents a language along with country/region.

2

ResourceBundle

Contains locapzed text or objects.

3

NumberFormat

Use to format numbers/currencies as per the locale.

4

DecimalFormat

Use to format numbers as per customized format and as per locale.

5

DateFormat

Use to format dates as per locale.

6

SimpleDateFormat

Use to format dates as per customized format and as per locale.

Print