[dancer-users] playing with path_info before matching routes

Cymon cymon.ML at gmail.com
Sun Dec 15 14:32:52 GMT 2013


Il giorno Tue, 3 Dec 2013 13:26:50 +0200
WK <wanradt at gmail.com> ha scritto:

> Hi!
> 
> I try to build multi-language site, where i could include laguages
> code into path, like this:
> 
> www.exemple.com/en/some_page
> www.exemple.com/de/some_page
> www.exemple.com/fr/some_page
> www.exemple.com/fi/some_page
> www.exemple.com/ru/some_page
> etc
> 
> I want to handle part of the path after language abbreviation in one
> route for every language and only render page with lang-specific
> template.

If you're still looking for a solution for your problem, give a try to
my Dancer Plugin for multilanguage:
https://github.com/cym0n/Dancer2-Plugin-Multilang
I'd love to have feedback about it!


-- 
Cymon
http://perlishscrewdriver.blogspot.com


More information about the dancer-users mailing list