Before you begin
Identify strings that need to be localized.Why and when to perform this task
You can create a catalog as either a java.util.ResourceBundle subclass or a Java properties file. The properties-file approach is more common, because properties files can be prepared by people without programming experience and swapped without modifying the application code.Steps for this task
key = string associated with the key
Example
accountString = Accounts savingsString = Savings checkingString = Checking
Do not create compound strings by concatenation (for example, combining the values of savingsString and accountString to form Savings Accounts in English. Success depends upon the grammar of the original language (in this case, English) and is not likely to extend to other languages.
accountString = Konten savingsString = Sparkonto checkingString = Girokonto
What to do next
Write code to compose the language-specific strings.Related reference
Internationalization: Resources for learning