The Messages folder, residing in the Administration cabinet, contains message form documents that contain message strings that are substituted for message keys in the browser user interface and posted emails; message files also enable a multi-language user interface.
Document Flavor | Description |
---|---|
'message' flavor | Contains message key and message value pairs for message definitions. The message key defines the name of the message and the message value defines the text displayed to the user. The message value may contain parameters that enable Astoria to insert parameters into a message so it can include dynamic information in a multi-language safe way. These parameters are indicated by braces surrounding a single digit. For example, "{0} was updated by {1}" would be a message value with two parameters. To put a left brace in a message, use two consecutive left braces: {{. By default, there are several documents of the 'message' flavor in the Messages folder:
In addition, there may be application-specific message files. As with all Webform documents in Astoria, message files are represented in XML. When a message file is checked in, transformations generate equivalent files in jython and xslt formats. |
'shadowParameters' flavor | Defines the transformations to be performed when the Messages file is checked in. This document does not require updating because it is set up during installation to carry out the required transformations when the message file is changed. |
If you wish to modify the default messages in ACS, or if you wish to add new messages, you must create a new message document. Right-click the Messages folder, and select . You can override messages that exist in the Astoria Software supplied message documents, or you can add new message keys/values.