On Fri, Jun 12, 2009 at 5:58 AM, Timur Izhbulatov<[email protected]> wrote: > > Hi all, > > I've been porting my app to 2.0 and noticed that setup_i18n() [1] > doesn't set FormEncode translation if it finds language in session. > This function is the only i18n API that the controller is aware of and > it's called internally, so there's no way to change this without > overriding controller methods. > > That is, currently FormEncode translation is only set when there's an > Accept-Language match. Shouldn't setup_i18n() also set FormEncode > translation if there's language in session? > yes I think it should.
> [1] http://trac.turbogears.org/browser/trunk/tg/i18n.py?rev=6489#L11 > > -- > Timur Izhbulatov — www.timka.org > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
