Am 21.03.2012 21:08, schrieb Sylvain Prat:
> I am in the following situation: I have a localized application with
> translations that uses an application framework which also have
> translations. I'm wondering what is the best way to use both
> translations in my application.
That's what gettext 'domains' are for. Each component (framework, libraries)
should use it's own domain and gettext will choose the right mo file at
runtime. That way you can manage all translations in the context of their
component and they will not interfer with each other.
A real world example I'm working on is MediaCore which uses formencode.
formencode has it's own validation messages + translations. By using different
"domains" that's actually not a problem.
fs