Aurelien, if your routes_in rule is: ('/app/(en|fr)/(.*)', r'/app/default/\2/\1')
then for /app/fr/function you will get /app/default/function/fr and for /app/en/function/arg1/arg2 you will get /app/default/function/ arg1/arg2/en Your rule for routes_out now should be: ('/app/default/(.*)/(en|fr)', r'/app/\2/\1') so for /app/default/function/fr you will get /app/fr/function -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.