0001-doc-add-instructions-for-developers-to-update-transl.patch
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 |
- |