On Mittwoch, 8. Februar 2017 16:33:17 Michael Merickel wrote:
> I got the renderer working via the following diff. Unfortunately the
> translator is still not invoked which leads me to believe that there is
> something wrong with the i18n tags in the chameleon templates, but I don't
> know enough about chameleon to dive in there. Hopefully this was helpful
> though.

Thank you for that. 

I found the culprit! The call to:

        deform.renderer.configure_zpt_renderer()

intercepts the translation handling by replacing the carefully constructed 
zpt_renderer with a default one, that omits any translators.

Hrmpf. I'm preparing fixes for deformdemo at the moment, and will report this 
issue to the deform project.

While at it, what is the purpose of these hidden schema nodes:

            _LOCALE_ = colander.SchemaNode(
                colander.String(),
                widget=deform.widget.HiddenWidget(),
                default=locale_name)

Cheers,
Pete

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-devel+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/pylons-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to