[dancer-users] Localisation

Andrew Beverley andy at andybev.com
Fri Feb 20 10:53:31 GMT 2015


On Fri, 2015-02-20 at 10:31 +0000, Zahir Lalani wrote:
> What is the preferred method for localisation of templates using
> Dancer2. Everything seems to point to locale.maketext but I am unclear
> as to whether this is the standard approach in Dancer2 or not

I'm not doing any at the moment, but when I do, my plan is to use
Log::Report for all translations. I'm currently using that module for
all my error handling and general messages, so I'll be able to integrate
everything nicely.

For TT:

https://metacpan.org/pod/distribution/Log-Report-Lexicon/lib/Log/Report/Extract/Template.pod

Incidentally, there will soon be Dancer::Logger::LogReport and
Dancer2::Logger::LogReport

Andy




More information about the dancer-users mailing list