Yes Jonathan, it's a parametric router.
For using request.uri_language = 'it'   I cannot put it in the URL helper, 
so I need to make a function that will take care about language switching, 
ok.

Il giorno lunedì 17 marzo 2014 06:24:19 UTC+1, Jonathan Lundell ha scritto:
>
> On 16 Mar 2014, at 9:49 PM, Anthony <abas...@gmail.com <javascript:>> 
> wrote:
>
> URL(f=request.function, args= request.args, vars=request.vars, language=
>> 'it')
>>
>>
> URL does now take a "language" argument (in the current version of 
> web2py). You can also try:
>
> request.uri_language = 'it'
>
> to force a different language to be included in the URL.
>
>
> Though that's tied in with the use of the parametric router.
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to