[dancer-users] Set interface language via URL path

Pedro Melo melo at simplicidade.org
Mon Jul 8 13:35:33 BST 2013


On Fri, Jul 5, 2013 at 6:51 PM, David Golden <xdg at xdg.me> wrote:

> On Fri, Jul 5, 2013 at 12:19 PM, Pedro Melo <melo at simplicidade.org> wrote:
> > I'll need to think this over on how to do this with Dancer2, but I want
> to
> > reuse as much as possible of the routes between the three sites.
> That is sort of the crux of the question.  Are the templates
> different?  Or is the logic different?

Only the templates are different, the logic is the same.

The various suggestions for getting language information out of the
> request path would be my inclination if I had to do this.

Yeah, getting to that conclusion myself...

Pedro Melo
xmpp:melo at simplicidade.org
mailto:melo at simplicidade.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.preshweb.co.uk/pipermail/dancer-users/attachments/20130708/d19f1ff8/attachment-0001.htm>

More information about the dancer-users mailing list