Modify ↓
Ticket #137 (closed enhancement: fixed)
Support domain gettext calls
| Reported by: | palgarvio | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | major | Milestone: | 0.9.4 |
| Component: | General | Version: | devel |
| Keywords: | Cc: | trac-ja@… |
Description
Since no Translations class provided by python's gettext lib provide domain gettext calls, how about supporting them on our babel.support.Translations?
This would ease plugin based applications to allow their plugins to provide their own translations on a diferent domain for each plugin.
Currently we can only merge catalogs and this might mean overriding a good translation for a bad one.
Attachments
Change History
comment:3 Changed 4 years ago by palgarvio
With the latest update to the patch, removed regex dependency.
Changed 3 years ago by cmlenz
- Attachment translations-dgettext.diff added
Slightly cleaned up patch
Note: See
TracTickets for help on using
tickets.

The above patch should solve this ticket.