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
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
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
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.
--~--~-~