Re: Implementing custom Mako template lookup
You can add or override a renderer via the config.add_renderer() directive here: http://docs.pylonsproject.org/projects/pyramid/1.2/narr/renderers.html#adding-and-changing-renderers Renderers have access to the request object so accessing the current language shouldn't be an issue. -- Michael -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.
Re: Implementing custom Mako template lookup
Thank you, Michael! It worked. On 1 ноя, 20:34, Michael Merickel mmeri...@gmail.com wrote: You can add or override a renderer via the config.add_renderer() directive here:http://docs.pylonsproject.org/projects/pyramid/1.2/narr/renderers.htm... Renderers have access to the request object so accessing the current language shouldn't be an issue. -- Michael -- You received this message because you are subscribed to the Google Groups pylons-devel group. To post to this group, send email to pylons-devel@googlegroups.com. To unsubscribe from this group, send email to pylons-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/pylons-devel?hl=en.