Hello!

 I have a problem localizing pylons application that uses external
python modules, that, among other things, returns localized text to
app, which is displayed to user. Both uses gettext translation engine.
The problem is, that pylons app has separate translation settings than
the localized app, and each request can utilize different language for
translation. I'm wondering how to set up translation domains merging
(babel provides such functionality in a subclass of
gettext.GNUTranslations), so all the translated texts will be
available from pylons i18n infrastructure. I was thinking about
monkeypatching pylons.i18n.set_lang, but maybe there is a better,
prettier way you know?

 Best regards,

 Cezary Statkiewicz

-- 
Cezary Statkiewicz - ce...@thelirium.net
         jabber://ce...@jabber.org
             http://thelirium.net

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to pylons-discuss@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-discuss+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en.

Reply via email to