There should be either option to generate `*.pot` files only, which would
allow `msgcmp` to be used, or validation mode which would check if the
catalog contains all the messages.
--
Ticket URL: <https://code.djangoproject.com/ticket/26803>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Comment:
What change do you talk about? The date field in the po header?
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:1>
Comment (by vzima):
Not only the po header. All the file changes - new messages are added,
obsolete are removed or marked, etc.
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:2>
Comment (by claudep):
What about a `--stats-only` option which would not touch existing po
files, but merge po files in a temporary directory and output translation
statistics for each file? Would it fulfill your use case?
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:3>
Comment (by vzima):
If it also returns appropriate exit code, similar to `makemigrations
--exit`, then yes.
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:4>
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:5>
* owner: nobody => Sergey Kolosov
* status: new => assigned
Comment:
Looking into this during DjangoCon EU 2017 sprints.
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:6>
Comment (by Sergey Kolosov):
Posted a PR: https://github.com/django/django/pull/11226
Exit code part is not that straightforward to implement so that it is
reliable enough.
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:7>
Comment (by Baptiste Mispelon):
I closed #31048 as a partial duplicate. It suggested using `--dry-run`
instead of `--exit` which seems more consistent with other commands.
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:8>
* owner: Sergey Kolosov => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:9>
* cc: Sage Abdullah (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:10>
* cc: HarryKane (added)
--
Ticket URL: <https://code.djangoproject.com/ticket/26803#comment:11>