 |
In this section, you will learn how to create new
resourceBundle files with the JInto resourceFile wizard. The
wizard simplifies the language- and country-code selection and you
can create several .properties files in one step.
The follwing table contains a tutorial on how to generate 4
.properties files at once. The generated files are:
Language |
Country |
Variant |
German |
Germany |
Unix |
German |
Germany |
Windows |
English |
United Kingdom |
Unix |
English |
United Kingdom |
Windows |
|
You must open the wizard selection dialog with CTRL+N,
File > New > Other or New > Other in the
toolbar. |
|
Select the ResourceBundle File under folder Java
and click Next. |
 |
Fill in the Source Folder and the Package
Fields. |
 |
Now enter the Name of the resourceBundle files. |
 |
As next step we must select the Language of our
first file. |
 |
Then we select the Country of the first file. |
 |
The next step is to write additional text into the Varinat
field if needed. |
 |
As last action for our first file we press the add
button for adding the file into the list. |
 |
Now we repeat the last four steps until we have all
files in the list (changing the country, language and variant
settings appropriately). |
 |
As last step we press the Finish button and the
files will be generated. |
 |
|