[dancer-users] Wolowitz

Zahir Lalani ZahirLalani at oliver.agency
Mon Aug 15 13:48:37 BST 2016


Hi All

I am trying to use Dancer2::Plugin::Locale::Wolowitz, but it does not seem to pick the config info at all.

Here is my config.yml


plugins:
  Locale::Wolowitz:
    lang_session: "es"
    locale_path_directory: "locale/default"


I presume this looks for a directory under the project path of locale/default. If I try and use loc() I get an error saying the i18n directory cannot be found. Even if I create the i18n directory under the project root, it still does not work. I even dumped plugin_settings() from within loc() and it returns empty.

Any ideas?


Zahir Lalani
Head of Development & Architecture

[cid:96F784CA-E917-4CC1-A9A9-96CBDA2AF2BC]

2 Tabernacle Street,
London, EC2A 4LU

m: +44 (0)7956 455168
t: +44 (0)203 142 3619
e: zahirlalani at oliver-marketing.com<mailto:zahirlalani at oliver-marketing.com>
w: www.oliver-marketing.com<http://www.oliver-marketing.com/>



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160815/149ca302/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2171 bytes
Desc: image003.png
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20160815/149ca302/attachment.png>


More information about the dancer-users mailing list