Digging and reading, has brought me to this method, which I think might be 
utilised best. 

https://github.com/Pylons/pyramid/blob/master/pyramid/i18n.py#L197

Seems like we need to unregister previous localizer first, and then 
recreate it and reregister it again.

I'm working on a similar functionality for my project.

W dniu wtorek, 12 lutego 2013 15:26:20 UTC+1 użytkownik Chris Rossi napisał:
>
> On Tue, Feb 12, 2013 at 9:22 AM, Grzegorz Śliwiński 
> <[email protected]<javascript:>
> > wrote:
>
>> Hi,
>>
>> I'm working on some i18n app in pyramid, and also extracted some 
>> functionality into common modules which provide functionality and actions. 
>> And I have several questions about i18n process in pyramid:
>> Is it possible to provide translations for messages delivered in this 
>> project? 
>> Can I >>overwrite<< this translations in pyramid app somehow? 
>>
> Where's the extract point for messages from such plugin?
>>
>
> To the extent that I understand what you're asking, I think it's pretty 
> well covered in the documentation:
>
> http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch/narr/i18n.html
>
> Chris
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to