in reply to Re: Template::Toolkit, look-and-feel and internationalization
in thread Template::Toolkit, look-and-feel and internationalization
How does the FILTER usage work when you've got to pass parameters?
I've implemented something similar to this in OpenInteract2 -- you just call:
[% MSG( 'somekey', param1, param2, ... ) %]...and that call gets replaced by the relevant lookup and replacement. Behind the scenes it's using Locale::Maketext, but that detail is irrelevant to the template creator.
Chris
M-x auto-bs-mode
In Section
Seekers of Perl Wisdom