I can easily just add some taglib goo to use my Handel::L10N stuff using Locale::Maketext.
My second thought was to make it a more generic XSP taglib instead. Anyone have any interest in such a beast?
I was thinking something simple to start with:
<l10n:translate> <l10:value>Found [_1] matching thingies</l10n:value> <l10n:param> <othertaglib:count>23</othertaglib:count> </l10n:param> </l10n:translate>
or
<l10n:maketext> <l10:value>Found [_1] matching thingies</l10n:value> <l10n:param> <othertaglib:count>23</othertaglib:count> </l10n:param> </l10n:maketext>
Easy but useful stuff [at least for me for now].
The trcik will be figuring out how to hoow up a general tablib to specific external modules....
In my case:
package AxKit::XSP::L10N;
but, instead of using AxKit::XSP::L10N::en_us.pm, have it be able to load MyOtherProgram::L10N::en_us.
Thoughts? -=Chris
smime.p7s
Description: S/MIME Cryptographic Signature