Localization
For localizations, the system uses entries from resource files. These entries can be expanded with or overwritten by entries from the data bank.
The screenshot shows the dialog for localization. Values used can be overwritten by entries in the database.
(1) Add, Remove, Cancel, Copy, Apply: The values for the language can be changed. Apply saves the change in (2) locally.
►IMPORTANT◄ Locally saved changes are only saved permanently in the database when Save (4) is pressed.
(2) Details: Resource bundle (file name of the bundle), Resource name, value for German and value for English.
(3) List of entries in the database.
(4) Save: All changes made are stored in the database. This also updates all affected pages.
(5) Refresh: The main menu is reloaded. This updates the entries affected by localization (e.g. regarding translations or sorting).
The languages currently available in the system are defined in a dynamic enumeration list: de.lobster.scm.localization.Locale. Here you can also add new languages and determine whether these languages are supported or used as default languages.
If the checkbox 'Supported language' is marked, this language will be displayed in the language administration for translations and as an optional column in the language administration table.
All default values are listed in the language administration. New resources and their translations can also be created. These resources can then be referred to in other places. A new resource can be a new term and its translations, it can be addressed by a name (Resource name) and grouped with other terms (Resource bundle). The example below shows this using a 'custom' resource with the entry 'vehicle' and translations in English and Italian. As usage, the example shows the tooltip of a button.
In the language administration, the Status column shows where the localization was performed:
System: Localization is a default value ('Default' in the installation).
Database: A newly entered value that is not included in the default system (e.g. translations of dynamic enumeration values). For backward compatibility, migrated or renamed resources can also be included here.
Changed: A system default value that was changed by a user.