The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Localizer::Style::Maketext - Maketext style

DESCRIPTION

This module provide feature to use maketext 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.