Hello!
I've written a module which subclasses Text::Template and provides
local encapsulation of template variable environments
(https://bitbucket.org/djerius/text-template-localize).
I like the name Text::Template::Localize, as in making things "local",
like the Perl 'local' command, but the name sounds a bit too much like
its doing something with language locales.
For what it's worth, I don't think that's too bad. For something really
locale-based, I'd expect a name like Text::Template::Localization,
Text::Template::Locales or even Text::Template::L10N. So "::Localize" is
not as fixed as it seems ;-)
Would anyone have an alternate suggestion?
You may want to focus on the variable environment aspect:
Text::Template::LocalVars
Text::Template::LocalScope
or similar. This way, noone will think it's trying to add l10n
functionality.
Regards,
Ben Deutsch