mirror of
https://github.com/django/django.git
synced 2025-04-08 23:46:43 +00:00
Added usage for --since
when fetching translations in docs/internals/howto-release-django.txt.
This commit is contained in:
parent
e715b07cf3
commit
4a824b1313
@ -215,13 +215,17 @@ A few days before any release
|
||||
bit lengthy so be sure to set aside 4-10 hours to do this, and ideally plan
|
||||
for this task one or two days ahead of the release day.
|
||||
|
||||
In addition to having a configured Transifex account, the
|
||||
`tx CLI <https://developers.transifex.com/docs/cli>`_ should be available in
|
||||
your ``PATH``. Then, you can fetch all the translations by running:
|
||||
In addition to having a configured Transifex account, ensure that the `tx
|
||||
CLI <https://developers.transifex.com/docs/cli>`_ is available in your
|
||||
``PATH``. You can then fetch all translations since a given date by running:
|
||||
|
||||
.. code-block:: shell
|
||||
|
||||
$ python scripts/manage_translations.py fetch
|
||||
$ python scripts/manage_translations.py fetch -v 1 --since=<some date>
|
||||
|
||||
To determine a good value for ``--since``, check the date of the most recent
|
||||
commit with wording similar to ``Updated translations from Transifex`` and
|
||||
use a date a few days prior.
|
||||
|
||||
This command takes some time to run. When done, carefully inspect the output
|
||||
for potential errors and/or warnings. If there are some, you will need to
|
||||
@ -247,6 +251,9 @@ A few days before any release
|
||||
`PR updating translations for 4.2
|
||||
<https://github.com/django/django/pull/16715>`_).
|
||||
|
||||
Once merged, forward port the changes into ``main`` (:commit:`example
|
||||
commit <cb27e5b9c0703fb0edd70b2138e3e53a78c9551d>`).
|
||||
|
||||
#. :ref:`Update the django-admin manual page <django-admin-manpage>`:
|
||||
|
||||
.. code-block:: shell
|
||||
|
Loading…
x
Reference in New Issue
Block a user