web2py does not use i18n. It uses T. You can get the accepted language from T.accepted_language. You will have to set the local yourself.
On Jul 3, 9:32 am, Robert Marklund <robbelibob...@gmail.com> wrote: > Hi, > it seams like the locale is not set for datetime objects used in modules > folder. > > with locale i mean that the language used by the T object should be set as > locale. > > If this is correct how can i get the locale from web2py ? > > /R > > -- > ______________________________________________ > Robert Marklund > > Phone: +46 (0)46 19 36 82 > Mobile: +46 (0)70 213 22 76 > E-mail: robbelibob...@gmail.com > ______________________________________________ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---