Friday, April 18, 2008

Message Catalogs

A message catalog is an XML file that contains a collection of text messages. Usually, an application uses one message catalog to contain a set of messages in a default language and optional, additional catalogs to contain messages in other languages.

To create and edit a properly formatted message catalog, use the WebLogic Message Editor utility, which is a graphical user interface (GUI) that is installed with WebLogic Server. To create corresponding messages in local languages, use the Message Localizer, which is also a GUI that WebLogic Server installs.

To access the Message Editor, do the following from a WebLogic Server host:

1. Set the Environment Variables .

WL_HOME\server\bin\setWLSEnv.cmd
2. Run the following command to open the editor
java weblogic.MsgEditor

After that you can create/edit/delete the mesage catalog using this editor.