Info Labels

The JCM code is internationalised so that it's easy to translate all the plot labels and pop-up info.

Many people helped with translations -

  • See Acknowledgements
  • Please contact me, if you can help translate to your language.
    (note, Java can handle any language -not only western scripts).

    How it works

  • Directory of labels text files
  • labinf.java source code

    The model has an internal code for each graphical component (plot, button, menu, control). To find the text in the appropriate language, it looks in the following order:

  • Seek short (`) or long (~) form following #code in labXX.txt (where XX is a standard two-letter langauge code)
  • if not found, look under #code in lab.txt (default)
  • if not found, use the internal code

    The same internal codes are used for scripting demonstrations or batch calculations.

  • Scripting Code

    Label file format

  • #code : internal model code (don't translate this)
  • `abcd : short form, usually visible
  • ~abcdefgh : longer explanation used in pop-up info or menus
  • The order within a file doesn't matter
  • Each item should end with a space. Spaces, tab, newline etc. between items are trimmed
  • Unrecognised labels are ignored (e.g. you can add comments with #!)
  • New labels from 2002 are at the end