#20383: Makemessages must deal with context translations for a limited set of
contexts.
-------------------------------------+-------------------------------------
     Reporter:  Filipe Waitman       |                    Owner:  nobody
  <filwaitman@…>                     |                   Status:  closed
         Type:  New feature          |                  Version:  1.4
    Component:  Translations         |               Resolution:  wontfix
     Severity:  Normal               |             Triage Stage:
     Keywords:                       |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by claudep):

 * status:  new => closed
 * needs_docs:   => 0
 * resolution:   => wontfix
 * needs_tests:   => 0
 * needs_better_patch:   => 0


Comment:

 Thanks for explaining your use case in details. Unfortunately, I think
 that this use case is not common enough to justify the added complexity it
 implies.

 You could write your own version of the `makemessages` command, and do the
 needed pre-processing stuff in `TranslatableFile.process`, a bit like it
 is done for non-py files with `templatize`. Not trivial, but doable.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20383#comment:1>
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 [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to