catgets

catgets is a Tclx command in support of getting messages from a message catalog.

catgets catHandle setnum msgnum defaultstr

Retrieve a message form a message catalog. CatHandle should be a Tcl message catalog handle that was returned by catopen. Setnum is the message set number, and msgnum is the message number. If the message catalog was not opened, or the message set or message number cannot be found, then the default string, defaultstr, is returned.


See also catclose and catopen.