Arghh ... I have not been reading the book properly. Thanks for this. I would just like to use the subdomain method. However, how would you do it for country? I don't think we have default_country.
On Wednesday, 1 August 2018 22:43:31 UTC+8, Anthony wrote: > > On Tuesday, July 31, 2018 at 11:36:53 PM UTC-4, rāma wrote: >> >> >> Based on recommendations of a muli-lingual site here: >> https://stackoverflow.com/a/16624252 >> <https://www.google.com/url?q=https%3A%2F%2Fstackoverflow.com%2Fa%2F16624252&sa=D&sntz=1&usg=AFQjCNHSCMigSBQASFloGqmaR450yl_6QQ> >> > > There are multiple recommendations there -- which are you looking to > support? > > Anyway, if using the parameter-based rewrite system, web2py supports > adding the language as the first element of the URL path (i.e., the > "sub-directories" recommendation from the above link), as explained here: > http://web2py.com/books/default/chapter/29/04/the-core#Parameter-based-system > . > > Anthony > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

