Hi dancer-users, I am looking into some I18N plugins for Dancer and was hoping someone could help me choose a good solution. My templates are all in Template Toolkit, and I realize that auto-generating po and mo files is likely going to be difficult and or buggy so I will do that myself. Currently I’m stuck trying to choose how to set the locale and have TextDomain serve content correctly. There is a plugin called Dancer::Plugin::Locale that nics on github wrote. I am still having trouble with this module. Checking out the dev branch from https://github.com/nics/Dancer-Plugin-Locale and running tests fails. Are there other plugins that people use or can point me to somewhere which is a tried and true I18N solution? Thanks, Dave
On 14-02-21 06:10 PM, Dave Marr wrote:
Are there other plugins that people use or can point me to somewhere which is a tried and true I18N solution?
I didn't play with them myself, but there is Dancer::Plugin::I18N and Dancer::Plugin::Locale::Wolowitz that might fit the bill. Joy, `/anick
I just cloned Dancer::Plugin::I18N from https://github.com/PerlDancer/dancer-plugin-i18n Made a pull request to get tests passing: https://github.com/PerlDancer/dancer-plugin-i18n/pull/1 Will see how it stacks up. Thanks! -- Dave Marr Sent with Airmail On February 21, 2014 at 4:07:24 PM, Yanick Champoux (yanick@babyl.dyndns.org) wrote: On 14-02-21 06:10 PM, Dave Marr wrote:
Are there other plugins that people use or can point me to somewhere which is a tried and true I18N solution?
I didn't play with them myself, but there is Dancer::Plugin::I18N and Dancer::Plugin::Locale::Wolowitz that might fit the bill. Joy, `/anick _______________________________________________ dancer-users mailing list dancer-users@dancer.pm http://lists.preshweb.co.uk/mailman/listinfo/dancer-users
On 14-02-22 02:33 AM, Dave Marr wrote:
I just cloned Dancer::Plugin::I18N from https://github.com/PerlDancer/dancer-plugin-i18n
Made a pull request to get tests passing: https://github.com/PerlDancer/dancer-plugin-i18n/pull/1 Will see how it stacks up.
I'll poke the original author and let him know there's a PR for him. :-) Joy, `/anick
participants (2)
-
Dave Marr -
Yanick Champoux