#6376: Allow using custom gettext domains
-------------------------------------+-------------------------------------
     Reporter:  dennis@…             |                    Owner:  Rui
                                     |  Pereira
         Type:  New feature          |                   Status:  assigned
    Component:                       |                  Version:  dev
  Internationalization               |
     Severity:  Normal               |               Resolution:
     Keywords:  gettext              |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  1
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by TimidRobot):

 The Creative Common (CC) legal tools (636 licenses and 3 public domain
 tools) require multiple distinct translation domains so that we can have
 different workflows for legal text (high friction/gatekeeping) and non
 legal text (low friction/gatekeeping):

 We have a functional workaround ([https://github.com/creativecommons/cc-
 legal-tools-
 app/blob/2e13c4085cd90d2cc340611fd09ce3e080c347e5/i18n/utils.py#L67-L138
 i18n/utils.py#L67-L138]) but it manipulates the private `_active`
 variable, which seems fragile to me.** Proper support for being able to
 specify a translation domain would very helpful.**

 Related repositories:
 - [https://github.com/creativecommons/cc-legal-tools-app/ creativecommons
 /cc-legal-tools-app]: Legal tool (licenses, public domain dedication,
 etc.) management application for Creative Commons
 - [https://github.com/creativecommons/cc-legal-tools-data creativecommons
 /cc-legal-tools-data]: Legal tool (licenses, public domain dedication,
 etc.) data for Creative Commons
-- 
Ticket URL: <https://code.djangoproject.com/ticket/6376#comment:24>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070190b6b26884-a293ee44-891c-4ca5-b7b6-bc5de22b9f0f-000000%40eu-central-1.amazonses.com.

Reply via email to