Using the SCOadmin internationalization facility

Message ID naming

All message numbers are referred to symbolically in the code. The symbolic constants should be named in the form:

moduleid_MSG_string

or

moduleid_ERR_string

Where moduleid is the module ID (including the vendor code). The _MSG_ case is used for display messages and the _ERR_ case is used for error messages. string is a short identifier for the specific message, which should consist of letters and underscores. For example:

   SCO_PIZZA_MSG_TOGO
   SCO_PIZZA_ERR_UNKNOWN_TOPPING


NOTE: All messages must follow the above naming convention. The strings _MSG_ and _ERR_ have special meaning and must not be used anywhere else in the message ID.


Next topic: Message file format
Previous topic: Creating a message specification file (*.msg)

© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003