Project

General

Profile

0001-doc-add-instructions-for-developers-to-update-transl.patch

Loïc Dachary, 19 February 2021 09:22 AM

Download (1.2 KB)

View differences:

Subject: [PATCH] doc: add instructions for developers to update translations
 (#51277)

Fixes: #51277

License: MIT
 doc/development.rst | 13 +++++++++++++
 1 file changed, 13 insertions(+)
doc/development.rst
59 59
   When running from an interactive shell `< /dev/null` unsets
60 60
   the `tty` tox sub-type and defines the `COVERAGE` variable.
61 61

  
62
Update translations
63
===================
64

  
65
The `.po` files must be updated whenever a localizable string is modified::
66

  
67
     $ django-admin makemessages -l fr \
68
                                 --extension .py --extension .txt --extension .html \
69
				 -i tests -i debian -i 'AUTHORS.txt*'
70

  
71
Unless they are trivial fixes (such as typos), the translations must
72
not be provided as a contribution. They are updated upstream before
73
the releases to help keep the vocabulary consistent.
74

  
62 75
Build the documentation
63 76
=======================
64 77

  
65
-