The language program Plocale
Java and Ebus-J support multilingualism (see Language
File).
If the checkbox Create Language File
is set in the Generator, a file <Programname>.properties will be created, in which all
texts of the program will be saved. Each single text is entered in a separate
row with the following structure:
<Text
Identifier> = <Text>
<Text Identifier> is created by Ebus-J.
With
the program Plocale texts can be translated comfortably.
The program Plocale is started by the command
procedure run_plocale:
run_Plocale.bat (Windows)
sh run_Plocale.sh (Unix/Linux).

Master File: The
name of the language file created by Ebus-J must be given. A file can be selected with
the button Browse.
Country File: The
name of the country file can be specified manually or via the setting of Language
and Country. Translations are saved in the country file. The
program needs this file at runtime for displaying the translated texts. A file
can be selected with the button Browse.
Language: One
of the admissible languages can be selected. The name of the Country File
will be adapted automatically.
Country: One
of the admissible countries can be selected. The name of the Country File
will be adapted automatically.
Button ¢Open¢: The Master File and the Country
File are opened. If the Country File does not exist, it
will be created. If the original file has changed, for example because of
changes in the program, all removed texts will be deleted in the Country
File and all new texts will be added. Prior to this the original Country
File will be saved under the following name:
<Program
Name>_<Language>_<Country>.SAVE_<Date>_<Time>
After the files have been opened the first text
of the file will be displayed.
The following function keys (Icons) are
applicable after the files have been opened:
F2:
Search
F7:
Import
F3:
Next Text
F4: Previous Text
F11: All
texts of the Exclude list are displayed. Excluded texts do not have to be
translated. By selecting it a text can be removed again from the exclude list.
F12:
Exclude capital letters: All texts that only contain capital letters or
characters, are added tot he exclude list. They do not have to be translated then.
Shift/F3:
Next untranslated text
Shift/F4:
Previous untranslated text
Button ¢Save¢: The changes are saved in the Country
File and the files are closed.
Original Text: The
original text is displayed here.
Buttons F3 / F4: Scroll forward and backward.
Translation: The
translation for the original text is to be entered here.
Button ¢F2 = Search¢: The following dialog will turn up:

Button ¢Search untranslated texts¢: All untranslated texts are shown in a select
window. The currently selected text can be added to the exclude list with F2.
It does not have to be translated then.
Search for: You
can search for a text either in the Original Text or in the Translation.
Button ¢OK¢: The program will search for the texts
specified under Search for. All found texts are shown in a select
window. The currently selected text can be added to the exclude list with F2. It does not have to be
translated then.
Button ¢F7 = Import¢: The following dialog will turn up:

Texts that have already been translated can be
imported from other language files. Only texts that have not yet been
translated in the current file will be imported.
Import from file: Name of the language file, from which the text is to be imported. With
the button Browse a file can be selected.
Button ¢Import¢: The import file is read. All found translations
will be imported.