If I overwrite the wrapper "_" call in the tglib/__init__.py file:

import __builtin__
t = gettext.translation(GETTEXT_DOMAIN, LOCALE_DIR)
__builtin__._ = t.ugettext

all the messages from the tglib module are correctly translated, but
now all messages from the Turbogears application module "inhouse"
fallback to the default translation. There must be a way to differ
between both modules and to use different domains. But currently the
application seems to lookup only for one domain at a time.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
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/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to