perl-i18n

[Announce] Locale::Maketext::Fuzzy 0.01

2002-08-02 01:26:51
http://www.autrijus.org/Locale-Maketext-Fuzzy-0.01.tar.gz

Just hit CPAN a few seconds ago.  It is a subclass of Locale::Maketext
with additional support for localizing messages that already contains
interpolated variables. 

This particular module was written to fix problems occurred in RT's web
interface, where it had to localize messages returned by external modules,
which may already contain interpolated variables, e.g. "Successfully
deleted 7 tickets in 'c:\temp'".

With Locale::Maketext::Fuzzy, you can use a ->maketext_fuzzy to match
the above strings against a "Successfully deleted [quant,_1,ticket,tickets]
in '[_2]'" entry in the lexicon, and have the appropriate variables
extracted automatically.

For detailed usage please see its POD page; comments and opinions are
most welcome.

Thanks,
/Autrijus/

Attachment: pgpN0fKVJy5yI.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>
  • [Announce] Locale::Maketext::Fuzzy 0.01, Autrijus Tang <=