Re: i18n override

2009-07-31 Thread Tomasz Nazar
Hi there. I also want to override _ function. But, I'd like to override _ per request, so other "users" still have original _ behaviour... Can that be done? If one needs to do it globally for all requests then that's actually quite easy: Pylons 0.9.6 from pylons.i18n.translation import

Re: i18n override

2009-03-25 Thread Uwe Feldtmann
Thanks for the response Philip. I have raised ticket #593 as a feature request. Uwe. Philip Jenvey wrote: > On Mar 24, 2009, at 1:17 AM, Uwe Feldtmann wrote: > > >> Hi all. >> >> I am still trying to find a way to override _ in pylons. >> >> Have looked through pylons.templating and have trie

Re: i18n override

2009-03-25 Thread Philip Jenvey
On Mar 24, 2009, at 1:17 AM, Uwe Feldtmann wrote: > > Hi all. > > I am still trying to find a way to override _ in pylons. > > Have looked through pylons.templating and have tried everything I can > think of. > > Can someone tell me how and where I can replace pylons._ aka _() > with my > own

i18n override

2009-03-23 Thread Uwe Feldtmann
Hi all. I am still trying to find a way to override _ in pylons. Have looked through pylons.templating and have tried everything I can think of. Can someone tell me how and where I can replace pylons._ aka _() with my own version? I've run out of ideas. Thanks in advance. --~--~-~