This not work? http://web2py.com/books/default/chapter/29/04/the-core?search=routes#URL-rewrite
Using a languages dictionary , or setting a default language routers = dict( BASE = dict(default_application='myapp'), myapp = dict(languages=['en', 'it', 'jp'], default_language='en'),) Em quinta-feira, 7 de julho de 2016 09:50:46 UTC-3, Carlos Cesar Caballero escreveu: > > Hi, I need some starting point to implement the URL based > internationalization using the pattern based router, I really need to use > the router, but there is so little documentation... > > I am clonning our yii2 cms base application (supporting right now sites > like http://santiagohermes.com http://anniaalonso.com, > http://alborarquitectos.com and http://casamabehostal.com) and it is > almost done (you can look working in http://daxslab.com/) but I need to > add some functionalities with the router before sharing it to everyone. > > Greetings. > -- 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.