Photon message database editor
phabmsg [filename] [-h height[%]] [--Si|m|n] [-s server_name] [-w width[%]] [-x position[%][r]] [-y position[%][r]]
If server_name is: | This server is used: |
---|---|
node_path | node_path/dev/photon |
fullpath | fullpath |
relative_path | /dev/relative_path |
The phabmsg utility starts a graphical Photon editor for managing message databases. Message databases are convenient places to keep strings for one or more applications, and they provide multi-language support for PhAB applications. You must be running Photon in order to run phabmsg.
To create a new message database:
To change an existing database, use File-->Open to open the database, then select items, change the contents, and click Modify current.
Once a message database is populated with values, you can use the PhAB translation editor to create translate the database into different languages. You can launch the PhAB translation editor phablang for the current message database open in phabmsg by selecting File-->Launch Translation Editor.
For more information, see the International Language Support chapter of the Photon Programmer's Guide.
Run phabmsg using the Photon server on node my_node:
phabmsg -s/net/my_node/dev/photon
Run at initial position (10,10):
phabmsg -x10 -y10
Open the message database /tmp/all.mdb
phabmsg /tmp/all.mdb
ApLoadMessageDB(), ApCloseMessageDB(), ApGetMessage(), phablang, the International Language Support chapter of the Photon Programmer's Guide.