|
NAMEData::Localize::Format::Gettext - Gettext FormatterSYNOPSIS# Used by Data::Localize::Gettext by default, but if you want to # customize ( maybe include function calls "%myfunc(...)" ), then # do this: $loc = Data::Localize->new(); $loc->add_localizer( Data::Localize::Gettext->new( formatter => Data::Localize::Format::Gettext->new( functions => { foo => sub { my ($lang, $args) = @_; # $lang isa 'Str', # $args isa 'ArrayRef' return "localized text"; }, bar => sub { ... }, baz => sub { ... }, } ) ) ); METHODSformat
Visit the GSP FreeBSD Man Page Interface. |