#33056: makemessages overrides the *.po files even if they are already up to 
date
------------------------------------------------+------------------------
               Reporter:  Daniyal Abbasi        |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Internationalization  |        Version:  3.2
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 The *.po files are updated when the makemessages command in run even if
 they are already up to date. The significant change that occurs is the
 "POT-Creation-Date". If a *.po file exists, we should use the `--update`
 flag of `msgmerge`. This will not update the *.po if all the translation
 strings are not updated.

 A benifit of this (that I personally encountered) would be writing pre-
 commit hooks for makemessages. The pre-commit hooks would not update the
 file if it is already up to date.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33056>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/056.37867ccde7684d9b2ab7e0d73dee56fa%40djangoproject.com.

Reply via email to