Freeside:1.7:Documentation:Developer/FS/Msgcat

From Freeside
< Freeside:1.7:Documentation:Developer‎ | FS
Revision as of 17:54, 3 October 2007 by Ivan (talk | contribs) (import from POD)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NAME

FS::Msgcat - Message catalog functions

SYNOPSIS

 use FS::Msgcat qw(gettext geterror);

 #simple interface for retreiving messages...
 $message = gettext('msgcode');
 #or errors (includes the error code)
 $message = geterror('msgcode');

DESCRIPTION

FS::Msgcat provides functions to use the message catalog. If you want to maintain the message catalog database, see FS::msgcat instead.

SUBROUTINES

gettext MSGCODE
Returns the full message for the supplied message code.
geterror MSGCODE
Returns the full message for the supplied message code, including the message code.

BUGS

i18n/l10n, eek

SEE ALSO

FS::msgcat, FS::Record, schema.html from the base documentation.