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?
[1] http://trac.turbogears.org/browser/trunk/tg/i18n.py?rev=6489#L11
--
Timur Izhbulatov — www.timka.org
OK. Here's a ticket for this http://trac.turbogears.org/ticket/2335
There's also a patch.
--
Timur Izhbulatov — www.timka.org