Images

Top  Previous  Next

Localization of image files

 

Each image is referenced three times by its ending (_de, _en, _fr). These endings correspond to the internationally used value of languages employed in java. For example, if the user is working with the German version, the software will search for the localized version of the image in the corresponding language. If a specified version is not provided the system will automatically refer to the standard icon id

(in the example below: main.print).

The standardised document is called image.properties and includes information regarding identified images within a XML file. The real images saved as .gif, .jpg or in similar formats lie bundled in a database.

 

An example

 

The graph below illustrates how the icons in the file menu are assigned with an iconid. This id refers to their corresponding place in the LocaleBundle document, where the required file is stored.

 

 

The connection between the ID in the XML document and localization in the LocaleBundle document is shown, as well as the reference to the original source and format (print.png highlighted in grey).

The connection between the ID in the XML document and localization in the LocaleBundle document is shown, as well as the reference to the original source and format (print.png highlighted in grey).