Wow, I swear people using web2py can read minds. 14 minutes before my above post aure posts a solution...
aure, do you want to put that up on web2pyslices or I could do it for you. Thank you! Chris On Mar 18, 7:36 am, Christopher Steel <chris.st...@gmail.com> wrote: > Jiri, Aure and Wikus, > > I am also working on a multilingual project and I am sure some other > folks are as well. We could really use some working examples of > internationalization, especially using URL's and routes_in and > routes_out and table setups. > > If you all are up to doing short "slice" you can visit > > http://www.web2pyslices.com/main/default/indexand contribute one > or more working examples. > > Here is a link to a good one that Massimo did on creating Audit Trails > as an example: > > http://www.web2pyslices.com/main/slices/take_slice/35 > > The other option is "donating" a working application although this > happens less frequently because of work related restrictions and/or > licensing. Web2pyslices is fast and easy and because you can use code > snippits you don't risk giving away any state or corporate secrets ; ) > > Thanks, > > Chris > > On Mar 16, 12:44 pm, Wikus van de Merwe <dupakrop...@googlemail.com> > wrote: > > > 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.