#19270: makemessages and compilemessages force the location of PO files
-------------------------------------+-------------------------------------
     Reporter:  julen                |                    Owner:  nobody
         Type:                       |                   Status:  closed
  Cleanup/optimization               |                  Version:
    Component:  Core (Management     |               Resolution:  needsinfo
  commands)                          |             Triage Stage:
     Severity:  Normal               |  Unreviewed
     Keywords:  gettext, l10n,       |      Needs documentation:  0
  i18n, makemessages,                |  Patch needs improvement:  0
  compilemessages                    |                    UI/UX:  0
    Has patch:  0                    |
  Needs tests:  0                    |
Easy pickings:  0                    |
-------------------------------------+-------------------------------------

Comment (by anonymous):

 It has been working.  Not because it was a good choice, but because nobody
 really has had any choice but to put their PO files in LC_MESSAGES.
 They've prioritised a working Django app over fixing this brokenness.  I
 think everyone who first localises a Django app has to work through this
 confusion, hard to count those lost cycles but they exist.

 So 'working' in this sense isn't a good argument, 'work around' is
 probably a better reason as to why it has been working.

 My personal suggestion would be '$project/po/$lang' for the location of
 the PO files.  But I think the reporter is asking for it to be
 configurable thus:

 makemessage --po-location=myapp/po

 and

 compilemessages --po-location=myapp/po

 The --mo-location could also be configurable making it easier for Django
 apps that are being distributed being placed in the correct place on the
 server.

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


Reply via email to