To add support for locales you need to do the following (on Windows you need execute as an Administrator if jAmaSeis was installed to “Program Files”):

  1. Open a command line window (“Command Prompt” or “Terminal”)
  2. Change to the directory of “jAmaseis.jar”
    cd "C:\Program Files\jAmaSeis"
            or
    cd /Applications/jAmaSeis.app/Contents/Resources/app
  3. Extract the default text properties file
    unzip jAmaseis.jar res/text.properties
  4. Change to the “res” directory
    cd res
  5. Copy the text.properties file to a new file for your locale[1][2][3][4]
    cp -p text.properties text_pt_PT.properties
  6. Modify the contents of the new file for the desired language

[1] The locale information is logged by jAmaSeis (WIndows->Log) when the program starts (i.e. “Locale: en_US”.)

[2] You can specify a different locale on the command line when running jAmasies (i.e. Portuguese “java -Duser.country=PT -Duser.language=pt -Xmx1024m -jar jAmaseis.jar”.)

[3] For more locale IDs see JDK 6 and JRE 6 Supported Locales

[4] For more Internationalization information see Java Tutorials Trail: Internationalization