Storing Messages as Translatable Strings
Typically you store error messages in a resource bundle or other property file to facilitate translation and reuse of messages. A resource bundle contains key-value pairs for any messages and data strings in your application that you want to translate or reuse.
To use an existing message or create a new stored message, perform the following steps:
1. Click the Select Text Resource button to go to the Select Text Resource dialog box.
2. In the Select Text Resource dialog box:
To use an existing message, select it and click Select
To create a new message, enter the message in the Value field. This automatically populates the Key field, but you can change the key to a more meaningful name if desired. You also enter a description, which can assist the translator in knowing how the message is to be used.
Click Save and Select to store and use the message