Changing System Messages to Other Languages

All strings used for system messages are defined in arrays in separate modules. Indexes into these arrays are assigned symbolic names and used by the Vermont Views system. This allows you to easily access and change the strings used for the messages to other languages.

There are three classes of messages that you can access and change: informational, validation, and error messages. Informational messages are general purpose messages used throughout the system and include:

Error messages, indexed by the global error code VV_ERR, are printed by the VCS error reporting system in the error window. You may have made other uses for these messages, including within your own error reporting function.

Validation error messages, indexed by the validation error code VAL_ERR, are displayed by the data form processing system when the user has entered an invalid string in a field. (See Chapter 32, "Writing User Validation Functions," for more information about what functions set VAL_ERR.)

These messages are defined in the following modules:

    Informational messages        vv_infomsg.c

    Validation error messages    vv_valmsg.c

    Error messages            vv_errmsg.c

More:

Accessing the Messages

Changing the System Messages


Home Contents Previous Next