Edgewall Software

Ticket #137 (closed enhancement: fixed)

Opened 11 months ago

Last modified 10 months ago

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

support_domain_calls.patch Download (3.6 KB) - added by palgarvio 11 months ago.
translations-dgettext.diff Download (5.1 KB) - added by cmlenz 10 months ago.
Slightly cleaned up patch

Change History

Changed 11 months ago by palgarvio

  • type changed from defect to enhancement

The above patch should solve this ticket.

Changed 11 months ago by trac-ja@…

  • cc trac-ja@… added

Changed 11 months ago by palgarvio

Changed 11 months ago by palgarvio

With the latest update to the patch, removed regex dependency.

Changed 10 months ago by cmlenz

Slightly cleaned up patch

Changed 10 months ago by cmlenz

  • status changed from new to closed
  • resolution set to fixed

Patch applied in [448].

Add/Change #137 (Support domain gettext calls)

Author


E-mail address and user name can be saved in the Preferences.


Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.