Yes, but there's a bug associated with this feature in the latest release. 
For more info, check this out: 
http://code.google.com/p/web2py/issues/detail?id=798&sort=-id


On Thursday, May 17, 2012 9:21:30 AM UTC-3, yus wrote:
>
> I am using web2py for a multilingual web-site with.
>
> I want to manage language setting the same way that it is managed in the 
> admin application (that is through session and cookies I guess), but at the 
> sale time I want the language to be explicitly indicated on the url 
> structure as
>
>         mysite.com/application/LANGUAGE/controller/function
>
> The reason is that I want to have the url structure that GOOGLE recommends 
> for websites with international content:
>
>
> http://support.google.com/webcurrentlycurrentlymasters/bin/answer.py?hl=en&answer=182192#1<http://support.google.com/webmasters/bin/answer.py?hl=en&answer=182192#1>
>
>
> My question is
>
> How can I add LANGUAGE to the web2py visible url?
>
> That is
>
> Web2py gives me
>
>         application/controller/function
>
> and I need it to become
>
>         application/*LANGUAGE*/controller/function
>
>  
>
> Thanks
>
>

Reply via email to