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/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