#19270: makemessages and compilemessages force the location of PO files
-------------------------------------+-------------------------------------
     Reporter:  julen                |      Owner:  nobody
         Type:                       |     Status:  new
  Cleanup/optimization               |    Version:
    Component:  Core (Management     |   Keywords:  gettext, l10n, i18n,
  commands)                          |  makemessages, compilemessages
     Severity:  Normal               |  Has patch:  0
 Triage Stage:  Unreviewed           |      UI/UX:  0
Easy pickings:  0                    |
-------------------------------------+-------------------------------------
 Django's `makemessages` and `compilemessages` management commands
 currently force applications to put their PO files under
 //<LOCALE_PATH>/<lang_code>/LC_MESSAGES/<domain>.po//.

 According to the [https://www.gnu.org/software/gettext/manual/gettext.html
 #Locating-Catalogs GNU gettext manual], //LC_<category>// should be used
 for Message Catalog files, i.e. MO files.

 Thus, the cited management commands should //at least// provide an option
 to specify the location of PO files. Ideally PO files should be moved off
 the //LC_MESSAGES// directory too, as it becomes redundant.
 //LC_MESSAGES// directories would only be generated after invoking
 `compilemessages` and would only be used at run-time, as a location where
 compiled files are read from.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19270>
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