On Sun, May 10, 2009 at 6:08 AM, guruyaya <[email protected]> wrote: > I'd like to know if there's a function that returns the current > language in use. I cannot read this from the headers, as it could be > that the user language is being forced. The process of analyzing the > language from the accepted language is problematic, as it can change > in the course of time. > Well, is there a way?
Try T.accepted_language -- Álvaro Justen Peta5 - Telecomunicações e Software Livre 21 3021-6001 / 9898-0141 http://www.peta5.com.br/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---

