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 subclass of java.util.ResourceBundle 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 in without modifying the application code.Steps for this task
key = string associated with the key
Example
The following English catalog (BankingResources_en.properties) supports the labels for the list and its two list items:
accountString = Accounts savingsString = Savings checkingString = Checking
The corresponding German catalog (BankingResources_de.properties) supports the labels as follows:
accountString = Konten savingsString = Sparkonto checkingString = Girokonto
What to do next
Write code to compose the language-specific strings.