Hi, thanks for answer my question, but this is the parameter-based
router, I need to use the pattern-based one.
(http://web2py.com/books/default/chapter/29/04/the-core?search=routes#Pattern-based-system)
Greetings.
El 07/07/16 a las 09:28, Marlysson Silva escribió:
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
<mailto:web2py+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que
ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
Nacional de Salud. La persona que envia este correo asume el compromiso de usar
el servicio a tales fines y cumplir con las regulaciones establecidas
Infomed: http://www.sld.cu/
--
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.