User's Guide
For large applications that use several messages, you might find it easier
to create and maintain messages using the NLS Workspace - Indexed
Messages window. By changing and evaluating scripts shown in the
window, you can quickly define several messages. To display the
messages, you must add scripts to your application that display a message when
a specific condition occurs.
This section describes how to define and display indexed messages using
scripts. The steps you complete to define and display indexed messages
are, in brief, as follows:
- Declare a message group for the application.
- Add message text to an application edition by evaluating a script that
sends the method abtNlmAddIndexedMessage:. This
creates a PRAGMA method in your application, or updates it if one exists, and
adds the NLS information to the application edition in the library. Creating messages describes what you evaluate.
- Build a message pool and repository (.mpr) file. Binding message strings and Translating text in messages, windows, and pool dictionaries describe what an .mpr
file is and how to build one.
- Make sure your image is synchronized with the new .mpr
file. Select NLS > Rebind Image
Strings from the Tools menu of the System Transcript
window. (See Binding message strings.)
- Version and release your changed application.
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]