[web2py] URl function and languages

2012-06-24 Thread Ivan Nikiforov
routers = dict( BASE = dict(default_application='myapp'), myapp = dict(languages=['en', 'it', 'jp'], default_language='en'), ) Enter code here... I am creating a multilingual application and use the above recipe to put language into URL. This works fine for incoming URLs but the URL functi

[web2py] Language in outgoing URLs

2012-06-24 Thread Ivan Nikiforov
I am creating a multilingual application and use this recipe to put language in URLs. routers = dict( BASE = dict(default_application='myapp'), myapp = dict(languages=['en', 'it', 'jp'], default_language='en'), ) It works fine for incoming URLs but the URL function does not add language t