This is similar to this enhancement request:
https://github.com/web2py/web2py/issues/766
________________________________________
Kiran Subbaraman
http://subbaraman.wordpress.com/about/
On Sun, 15-02-2015 4:58 AM, al ex wrote:
How can I make that when the accepted language is english the same
app/ctr/fnc returns the url as
domain/text-in-english
and when tha language is spanish, it returns the url as
domain/text-in-spanish
With pattern routes I can correctly route the incoming request from
domain/text-in-english
domain/text-in-spanish
to the same app/ctr/fnc
but what about the response after processing?
Is there a way to do it from the application?
Can you give me an example?
Thank you
--
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]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
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.