What is Locatlization and Internationalis ation.What is its use in java
Localization and Internationalisation
Collapse
X
-
Originally posted by jyohereWhat is Locatlization and Internationalis ation.What is its use in java
an application for a global market you want your application to be available in
as many languages as possible. Java uses Unicode characters for character
display. Unicode supports many many alphabets.
You don't want to recode your application over and over again for every single
language, so you 'internationali ze' it. This basically means that you don't put
any word or phrase or sentence in your code. You use 'keys' instead. A key
and a language make up that particular word in that language. That's the
localization process.
Basically you end up with lists; one per language. e.g.
Code:English: <key, value> F File B Button O Ok C Cancel Dutch: <key, value> F Bestand B Knop O Ok C Opheffen
given a language and you put the associated value for 'F' in your menu item.
There's more to I18N and L10N (the abbreviations for those two long words)
such as writing from right to left, top to bottom, decimal point symbols, the
way dates are written etc. etc.
kind regards,
Jos
Comment