I will add stuff as we get answers and build a little collection of internationalization stuff in one location. I am trying to work out a way to deal with the regional/dialect issue as well (fr-fr, fr-ca) etc.
I for one have never messed with routes_in and routes_out but I think Jiri is right, this is required for google listings and such. I had some issues with characters with accents in URL's in a previous application, have you run into any problems with accents? The other issue is that I have never programmed in Python before but I figure if I have gotten this far and I am only on page 188 of Learning Python by Mark Lutz's 1100 page 4th Edition, then I should be OK, it will just take me longer until I get up to speed, but so far I totally love it. ; ) Cheers, Chris On Thu, Mar 18, 2010 at 8:47 AM, aure <aureliengir...@googlemail.com> wrote: > Hi Chris, > > I don't know. There still are a few things I do not really understand. > I would be happy if some people can answer my questions before... > > But if you understand these things better than I do, do put it up on > web2pyslices! > > Aurelien > > On 18 mar, 12:49, Christopher Steel <chris.st...@gmail.com> wrote: > > 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/indexandcontribute 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<web2py%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/web2py?hl=en. > > -- Christopher Steel Owner Vishpala.com IT Consulting and Project Management -- 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.