++ed by:
AWNCORP

1 PAUSE user(s)

MATSUNO★…Tokuhiro
and 2 contributors

NAME

Localizer::Style::Gettext - Gettext style

DESCRIPTION

This module provide feature to use gettext style 'Hi, %1'.

SYNTAX

%1, %2, %3, ...

Replace with n-th argument (e.g. $_[1], $_[2], ...). %* is the special character, it is replaced to variable to get all of argument (equals @_[1 .. $#_]).

%quant(%1,piece)

It's for quantifying a noun (i.e., saying how much of it there is, while giving the correct form of it). Please refer to "language-quant-number-singular" in Locale::Maketext and Locale::Maketext::Lexicon.

%numf(1000)

Returns the given number formatted nicely according to this language's conventions. Please refer to "language-numf-number" in Locale::Maketext and Locale::Maketext::Lexicon.

%*(%1,piece)

Shorthand for quant.

%#(1000)

Shorthand for numf.

%my_own_lang(%1,piece)

Normal function call. You can register your own function in Localizer::Resource->new.

SEE ALSO

Locale::Maketext, Locale::Maketext::Lexicon

LICENSE

Copyright (C) Tokuhiro Matsuno.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.