16
Internationalization of Java Internationalization of Java Platform Platform Presenter: Ataru Nakazawa Presenter: Ataru Nakazawa Advisor: Xiaoping Jia Advisor: Xiaoping Jia Date: January 23, 2004 Date: January 23, 2004

Internationalization of Java Platform

  • Upload
    kesia

  • View
    18

  • Download
    2

Embed Size (px)

DESCRIPTION

Internationalization of Java Platform. Presenter: Ataru Nakazawa Advisor: Xiaoping Jia Date: January 23, 2004. Overview. Introduction Issues Unicode 4.0 Research Design Problem and challenge Work Plan References. Introduction. How many countries are in the world? - PowerPoint PPT Presentation

Citation preview

Page 1: Internationalization of Java Platform

Internationalization of Java Internationalization of Java PlatformPlatform

Presenter: Ataru NakazawaPresenter: Ataru Nakazawa

Advisor: Xiaoping Jia Advisor: Xiaoping Jia

Date: January 23, 2004Date: January 23, 2004

Page 2: Internationalization of Java Platform

OverviewOverview

1.1. IntroductionIntroduction

2.2. IssuesIssues

3.3. Unicode 4.0Unicode 4.0

4.4. Research DesignResearch Design

5.5. Problem and challengeProblem and challenge

6.6. Work PlanWork Plan

7.7. References References

Page 3: Internationalization of Java Platform

IntroductionIntroduction

How many countries are in the How many countries are in the world?world?

How many languages are in the How many languages are in the world?world?

How many people are in the world?How many people are in the world?

Page 4: Internationalization of Java Platform

AnswersAnswers

How many countries are in the world?How many countries are in the world? 192 countries (U.S. Department of State)192 countries (U.S. Department of State)

How many languages are in the world?How many languages are in the world? It is difficult to give an exact figure of the number It is difficult to give an exact figure of the number of languages that exist in the world. According to of languages that exist in the world. According to “Ethnologue”, it is usually estimated between 3,000 “Ethnologue”, it is usually estimated between 3,000 and 8,000.and 8,000.

How many people are in the world?How many people are in the world? 6,328,406,644 (U.S census Bureau)6,328,406,644 (U.S census Bureau)

Page 5: Internationalization of Java Platform

What is Internationalization?What is Internationalization?

Internationalization is the process Internationalization is the process of designing an application so that of designing an application so that it can be adapted to various it can be adapted to various languages and regions without languages and regions without engineering changes.engineering changes.

i18ni18n

Page 6: Internationalization of Java Platform

What is Localization?What is Localization? Localization is the process of Localization is the process of

adapting software for a specific adapting software for a specific region or language by adding region or language by adding locale-specific components and locale-specific components and translating text. translating text.

l10nl10n ExampleExample

Buongiorno

(Italian)

Hello

(English)

l10n

Page 7: Internationalization of Java Platform

IssuesIssues(Culturally Dependent Data)(Culturally Dependent Data)

MessagesMessages (e.g. English, Italian, Spanish and (e.g. English, Italian, Spanish and Japanese)Japanese)

DatesDates (e.g. November/14/2003, 14 / 11 /2003)(e.g. November/14/2003, 14 / 11 /2003) TimesTimes NumbersNumbers CurrenciesCurrencies (e.g. $, (e.g. $, £, ¥, )£, ¥, ) MeasurementsMeasurements (e.g. length, weight, (e.g. length, weight,

capacity, temperature)capacity, temperature) Phone numbersPhone numbers Postal addressesPostal addresses Labels on GUI componentsLabels on GUI components

Page 8: Internationalization of Java Platform

Issues that has been solvedIssues that has been solved

LocaleLocale Formatting Messages Formatting Messages Character Sets and UnicodeCharacter Sets and Unicode CollationCollation FontsFonts Graphical User InterfacesGraphical User Interfaces Input MethodsInput Methods

Page 9: Internationalization of Java Platform

Issues that has not been Issues that has not been solvedsolved

Unicode 4.0 SupportUnicode 4.0 Support Complex Text EnhancementComplex Text Enhancement Character Converter FrameworkCharacter Converter Framework Input Method FrameworkInput Method Framework

My research is going to be the Unicode 4.0 support My research is going to be the Unicode 4.0 support in Javain Java

Page 10: Internationalization of Java Platform

Unicode 4.0 support in JavaUnicode 4.0 support in Java

Currently, Currently, Unicode standard version 4.0 and Java Unicode standard version 4.0 and Java 2 Standard Edition 1.4.2 are released (As of 2 Standard Edition 1.4.2 are released (As of January 5 , 2004). But the J2SE1.4.2 supports only January 5 , 2004). But the J2SE1.4.2 supports only Unicode 3.0. The Unicode 4.0 is not being Unicode 3.0. The Unicode 4.0 is not being supported by the J2SE 1.4.2. supported by the J2SE 1.4.2.

Java 1.5 is going to be released in this coming Java 1.5 is going to be released in this coming summer of 2004. It is going to support Unicode summer of 2004. It is going to support Unicode 3.1 but Unicode 4.0.3.1 but Unicode 4.0.

Page 11: Internationalization of Java Platform

Unsupported Unicode BlocksUnsupported Unicode Blocks

47,188 new character assignments 47,188 new character assignments were made to the Unicode standard were made to the Unicode standard version 4.0version 4.0

from version 3.0.from version 3.0.

38 unsupported Unicode blocks.38 unsupported Unicode blocks.

http://students.depaul.edu/~anakazaw/se690/UnsupportedUnicodeBlockhttp://students.depaul.edu/~anakazaw/se690/UnsupportedUnicodeBlocks.txts.txt

Page 12: Internationalization of Java Platform

Research DesignResearch Design

The java.lang.Character and java.lang.Character. The java.lang.Character and java.lang.Character. UnicodeBlock classes need updating to provide UnicodeBlock classes need updating to provide access to the new characters and blocks.access to the new characters and blocks.

The normalization algorithm, used by the Collator The normalization algorithm, used by the Collator object, needs modification so that collation and object, needs modification so that collation and string comparison are carried out correctly.string comparison are carried out correctly.

The case mapping rules used to perform case The case mapping rules used to perform case mappings between upper and lower case letters mappings between upper and lower case letters need upgrading to handle new characters.need upgrading to handle new characters.

The character encoding converters need The character encoding converters need modification to support these new characters.modification to support these new characters.

Page 13: Internationalization of Java Platform

Problem and ChallengeProblem and Challenge

32 bits character assignments were made since 32 bits character assignments were made since Unicode 4.0. That is why supporting the new Unicode 4.0. That is why supporting the new Unicode characters that are bigger than 16 bits Unicode characters that are bigger than 16 bits would be the hardest part.would be the hardest part.

Page 14: Internationalization of Java Platform

Work PlanWork Plan

• DesignDesign

January, February, MarchJanuary, February, March

• TestingTesting

AprilApril

Page 15: Internationalization of Java Platform

ReferencesReferences

http://java.sun.com, Java Tutorial, Sun Microsystems, 2004.http://java.sun.com, Java Tutorial, Sun Microsystems, 2004.

http://www.oreilly.com, Java Internationalization, O'Reilly, 2001.http://www.oreilly.com, Java Internationalization, O'Reilly, 2001.

http://www.unicode.org, Unicode Standard Version 4.0, Unicode http://www.unicode.org, Unicode Standard Version 4.0, Unicode Inc, 2003.Inc, 2003.

http://java.sun.comhttp://java.sun.com, Java Internationalization Forum. , Java Internationalization Forum.

Page 16: Internationalization of Java Platform

E n dE n d