You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The Delft-FEWS GUI is available in multiple languages, the default language of Delft-FEWS is English. Changing the Language file of the Delft-FEWS GUI is configured in the global.properties file. The following lines need to be present in the global.properties file.

  • LANGUAGE=EN

It is also possible to have a variant to the selected language. The variant language files will use the default language values with for some GUI elements a different text. In the example below the country is set to Australia (AU) with a variant set to BOM.

  • COUNTRY=AU
  • VARIANT=BOM

The language files in the FEWS code will then have the following names.

  • messages_en.properties
  • messages_en_AU_BOM.properties

The following languages are currently available for the Delft-FEWS GUI:

  • Dutch (nl)
  • German (de)
  • Spanish (es)
  • Chinese (LANGUAGE=zh, COUNTRY=CN)
  • Chinese / Taiwan (LANGUAGE=zh, COUNTRY=TW)
  • Indonesian (in)
  • Vietnamese (LANGUAGE=vi or LANGUAGE=vn)

Adding a Language files to Delft-FEWS

When a new GUI language is required, the default English language captions need to be translated to this new language. The language files for all GUI's need to be translated. This example will explain the steps when adding the French (fr) language to Delft-FEWS GUI.

  1. Open the Delft-FEWS JAR file (In Total Commander, select the \bin\Delft_FEWS.jar file and press CTRL+PGWN.
  2. Select the file: \bin\Delft_FEWS.jar\nl\wldelft\fews\gui\messages_en.properties and copy the file to a local folder on your drive.
  3. Rename the file to messages_fr.properties.




  • No labels