I need to get the absolute path of configured translation directories in a
Pyramid 1.3 app.
Something like
registry.introspector.get_category('translation directories')
[0]['introspectable']['directory']
works fine in the pshell, and suppose inside a view too.
But what if I want that value inside the main function, just after calling
config.add_translation_dirs?
It looks like config.registry.introspector doesn't hold such category yet.
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/pylons-discuss/-/iUW-E235uVYJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en.