Hey,
I wonder if the feature for parameter based routing is also available or
possible to implement with pattern based routing. As from what I can read,
it does the following:
- routes /app/lang/ctrl/func to /app/ctrl/func
- sets request.uri_language to lang
- routes /lang/static/file (shouldn't
You can use
T.force('en')
T.force('it')
T.force('es')
based on request.vars or arguments
ex:
http://myapp/?lang?es
T.force(request.vars.lang)
not sure how to do it with routes
On Sun, May 8, 2011 at 11:47 PM, Miguel Morillo Iruela <
asellus2...@gmail.com> wrote:
> Hello,
>
> I wonder if it i
Hello,
I wonder if it is possible to "force" to use an specific language,
while web2py perform the translation automatically based on user's
browser language.
This means that although, we use as a default language browser
"English" we can choose our application in Spanish or Italian (ej:
http://m
3 matches
Mail list logo