1
0
mirror of https://github.com/django/django.git synced 2025-06-05 03:29:12 +00:00

Added usage for --since when fetching translations in docs/internals/howto-release-django.txt.

This commit is contained in:
Natalia 2025-04-04 15:01:15 -03:00 committed by nessita
parent e715b07cf3
commit 4a824b1313

View File

@ -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 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. for this task one or two days ahead of the release day.
In addition to having a configured Transifex account, the In addition to having a configured Transifex account, ensure that the `tx
`tx CLI <https://developers.transifex.com/docs/cli>`_ should be available in CLI <https://developers.transifex.com/docs/cli>`_ is available in your
your ``PATH``. Then, you can fetch all the translations by running: ``PATH``. You can then fetch all translations since a given date by running:
.. code-block:: shell .. 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 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 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 `PR updating translations for 4.2
<https://github.com/django/django/pull/16715>`_). <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>`: #. :ref:`Update the django-admin manual page <django-admin-manpage>`:
.. code-block:: shell .. code-block:: shell