msgFileType



This option is used to customize where messages are retrieved by message id from a message file. By default, the messages are retrieved from an IBM i message file object. By specifying "json", the messages will be retrieved from a JOSN message file within the Profound.js modules directory.

Example
msgFileType: "json"

The JSON in the message file should be formatted as follows:

{ "MSG0001": { "text": "Completed Download Process &2. Job &1.", "second_level_text": "Processing job &1.", "data": { "&1": { "type": "char", "length": 28 }, "&2": { "type": "char", "varying": true, "length": 2 } }  }, "MSG0002": { "text": "This is a simple message with no replacement data." } }



Click here for information on how to modify this setting.