METHODS

Constructors

$class->new( %options )

Accessors

Translating

$obj->load( $domain, $locale )

Load the translation information in the text $domain for the indicated $locale. Multiple calls to load() should not cost significant performance: the data must be cached.

$obj->translate( $message, [$language, $ctxt] )

Returns the translation of the $message, a Log::Report::Message object, based on the current locale.

Translators are permitted to peek into the internal HASH of the message object, for performance reasons.