This supersedes #20811 and #23299.
--
Ticket URL: <https://code.djangoproject.com/ticket/24167>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: nobody => aaugustin
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:1>
Comment (by aaugustin):
Since this ticket describes a new feature and wasn't implemented before
1.8 alpha, it will make it into 1.9 at best. I will use the approach
described in #23299 in 1.8 because it's less invasive.
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:2>
* owner: aaugustin =>
* status: assigned => new
* stage: Accepted => Someday/Maybe
Comment:
For the record, I didn't use that approach, I recommended using Jinja2
instead.
It's increasingly unclear to me that this is a problem that needs solving.
I'll leave the ticket open because 1.8 has been released only recently.
However I don't plan to work on it and I won't be surprised if it ends up
as wontfix.
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:3>
Comment (by carljm):
Aymeric: I think you meant to say "I recommended using Babel instead"? Or
else I'm misunderstanding something.
I think that "just use Babel instead" is a fine option, and there's not
much value in having `makemessages` wrap Babel.
(In the long run, I wonder if we could deprecate `makemessages` and just
recommend https://pypi.python.org/pypi/django-babel instead).
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:4>
Comment (by aaugustin):
Yes I meant Babel.
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:5>
Comment (by prestontimmons):
I wonder how many people using Jinja2 with Django use Babel? The django-
jinja library, at least, takes the approach of overriding the makemessages
command instead.
Personally, I've found Babel much less constrained than makemessages when
the translation workflow requires anything custom, e.g. multiple domain
files, files that shouldn't automatically remove obsolete strings,
combining po files from multiple apps from a single repository into one,
only extracting pot files, etc. These are situational, but with Babel
there's minimal retooling necessary if you want to do it. The same can't
be said for makemessages.
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:6>
* status: new => closed
* resolution: => wontfix
Comment:
I haven't heard anyone requesting this since Django 1.8 was released. I
assume everyone is happily using Babel.
I'm going to close this as wontfix because there doesn't appear to be a
need for this feature. If you think there is, please bring it up on the
DevelopersMailingList.
--
Ticket URL: <https://code.djangoproject.com/ticket/24167#comment:7>