Obtain the message that resides in file msgfile
and whose message ID is msgnum
is a number from 1 to n
, where n
is the number of messages in msgfile
searches for msgfile
, where locale
is the language in which the message strings have been written.
The value of locale
is set by the environment variable LC_MESSAGES
, or failing that, the LANG
environment variable. If neither is set, locale
defaults to a directory named
. If gettxt
fails, it displays default_message
or (if none is specified) the string, "Message not found!!"