Class Lang

java.lang.Object
   |
   +----LangBase
           |
           +----Lang

public class Lang
extends LangBase
use this class to access language-dependent strings.
use the function getStr to get a string. For example, a call to Lang.getStr(Lang.EMPTY) returns "Empty", "Leer" or "Vide". The actual string returned is dependent on the current setting for the language.

To get the current language, call Lang.getLangIndex(). This function, defined in the base class Lang, returns an index from 0..2, where 0 means English, 1 Deutsch and 2 means Francais.
To retrieve the name of a language as String, call Lang.getLangName().

If you would like to add a language to JaWavedit, have a look at MCK/sorces. There you will find the source code of LangBase and Lang. Add to all arrays the corresponding values and send the new files to us per email. We will then include them in the next release.
To test your language module, it may be possible to compile them and put them in the JaWavedit directory. However, we have not tested this possibility yet.


Variable Index

 o B
 o BALANCE
 o BOTH_SIDES
 o CLOSE_WINDOW
 o COMPILE
 o COMPILE_ALL
 o COMPILE_ALL_ERROR
 o COMPILE_ERROR_S
 o COMPILED_ALL_SUCCESFULLY
 o COMPILED_SUCCESFULLY_S
 o COMPILING_S
 o DOES_NOT_IMPLEMENT
 o EMPTY
 o ERR_NO_PREV_INST
 o ERROR_OPENING_S
 o ERROR_SAVING_S
 o EVERYTH_FINE
 o ext
 o EXTEND_BEGIN
 o EXTEND_END
 o FORMAT
 o FORWARD
 o HAVENT_LOADED
 o HELP_FILE
 o IS_CORRUPT_S
 o IS_INTERFACE
 o L
 o LEFT_SIDE
 o LENGTH
 o LOADING_MODULE
 o LOADING_MODULES
 o LOOP
 o MIX_PASTE
 o MODULE
 o MODULE_RUNNING_S
 o MODULES
 o NEITHER_WAV_AU_S
 o NEXT_START
 o NOT_SUPPORTED
 o NOT_SUPPORTED_S
 o ONLY_PARAS
 o PARAMETERS
 o PAUSE
 o PLAY
 o R
 o RELOAD_MODULES
 o REWIND
 o RIGHT_SIDE
 o SAMPLES
 o SAVE_FORMAT
 o SEL_BEGIN
 o SEL_BOTH
 o SEL_END
 o SEL_LEFT
 o SEL_RIGHT
 o SPEED
 o STOP
 o SUCC_EXECUTED_S
 o UNDO_ENABLED
 o VOLUME
 o WAVEFILE
 o WOUT_CHANGING
 o ZOOM
 o ZOOM_ALL
 o ZOOM_BEGIN
 o ZOOM_END
 o ZOOM_IN
 o ZOOM_OUT

Constructor Index

 o Lang()

Method Index

 o getStr(int)

Variables

 o EMPTY
 public static final int EMPTY
 o EVERYTH_FINE
 public static final int EVERYTH_FINE
 o HELP_FILE
 public static final int HELP_FILE
 o SEL_LEFT
 public static final int SEL_LEFT
 o SEL_RIGHT
 public static final int SEL_RIGHT
 o SEL_BOTH
 public static final int SEL_BOTH
 o FORMAT
 public static final int FORMAT
 o MIX_PASTE
 public static final int MIX_PASTE
 o MODULES
 public static final int MODULES
 o LEFT_SIDE
 public static final int LEFT_SIDE
 o RIGHT_SIDE
 public static final int RIGHT_SIDE
 o BOTH_SIDES
 public static final int BOTH_SIDES
 o EXTEND_BEGIN
 public static final int EXTEND_BEGIN
 o EXTEND_END
 public static final int EXTEND_END
 o ZOOM
 public static final int ZOOM
 o ZOOM_IN
 public static final int ZOOM_IN
 o ZOOM_OUT
 public static final int ZOOM_OUT
 o ZOOM_ALL
 public static final int ZOOM_ALL
 o UNDO_ENABLED
 public static final int UNDO_ENABLED
 o RELOAD_MODULES
 public static final int RELOAD_MODULES
 o WAVEFILE
 public static final int WAVEFILE
 o CLOSE_WINDOW
 public static final int CLOSE_WINDOW
 o LENGTH
 public static final int LENGTH
 o SAMPLES
 public static final int SAMPLES
 o LOADING_MODULE
 public static final int LOADING_MODULE
 o IS_INTERFACE
 public static final int IS_INTERFACE
 o DOES_NOT_IMPLEMENT
 public static final int DOES_NOT_IMPLEMENT
 o LOADING_MODULES
 public static final int LOADING_MODULES
 o ERR_NO_PREV_INST
 public static final int ERR_NO_PREV_INST
 o MODULE_RUNNING_S
 public static final int MODULE_RUNNING_S
 o MODULE
 public static final int MODULE
 o SUCC_EXECUTED_S
 public static final int SUCC_EXECUTED_S
 o HAVENT_LOADED
 public static final int HAVENT_LOADED
 o R
 public static final int R
 o L
 public static final int L
 o B
 public static final int B
 o ZOOM_BEGIN
 public static final int ZOOM_BEGIN
 o ZOOM_END
 public static final int ZOOM_END
 o SEL_BEGIN
 public static final int SEL_BEGIN
 o SEL_END
 public static final int SEL_END
 o VOLUME
 public static final int VOLUME
 o BALANCE
 public static final int BALANCE
 o SPEED
 public static final int SPEED
 o REWIND
 public static final int REWIND
 o PLAY
 public static final int PLAY
 o FORWARD
 public static final int FORWARD
 o PAUSE
 public static final int PAUSE
 o STOP
 public static final int STOP
 o LOOP
 public static final int LOOP
 o PARAMETERS
 public static final int PARAMETERS
 o SAVE_FORMAT
 public static final int SAVE_FORMAT
 o WOUT_CHANGING
 public static final int WOUT_CHANGING
 o ONLY_PARAS
 public static final int ONLY_PARAS
 o NEXT_START
 public static final int NEXT_START
 o NOT_SUPPORTED_S
 public static final int NOT_SUPPORTED_S
 o IS_CORRUPT_S
 public static final int IS_CORRUPT_S
 o ERROR_OPENING_S
 public static final int ERROR_OPENING_S
 o ERROR_SAVING_S
 public static final int ERROR_SAVING_S
 o NEITHER_WAV_AU_S
 public static final int NEITHER_WAV_AU_S
 o COMPILE_ALL
 public static final int COMPILE_ALL
 o COMPILE
 public static final int COMPILE
 o NOT_SUPPORTED
 public static final int NOT_SUPPORTED
 o COMPILED_SUCCESFULLY_S
 public static final int COMPILED_SUCCESFULLY_S
 o COMPILE_ERROR_S
 public static final int COMPILE_ERROR_S
 o COMPILED_ALL_SUCCESFULLY
 public static final int COMPILED_ALL_SUCCESFULLY
 o COMPILE_ALL_ERROR
 public static final int COMPILE_ALL_ERROR
 o COMPILING_S
 public static final int COMPILING_S
 o ext
 public static final String ext[][]

Constructors

 o Lang
 public Lang()

Methods

 o getStr
 public static String getStr(int constant)