padrino route with two names

45 views Asked by At

I am thinking about 2 language concepts in my project. I have data separated in database. But I want to have 2 language routes and I don't want to write all routes duplicates.

I have urls

mydomain.com/kategorie
mydomain.com/category

Is it possible to handle this in one padrino route? I have language setting in cookie, and then is generated language specific content.

It will be better than two routes for "kategorie" and "category".

0

There are 0 answers