| 645 | |
| 646 | == Translation tools now part of `django-admin.py` == |
| 647 | |
| 648 | In [7844] the tools to extract strings for translations (formerly `make-messages.py`) and compile the PO files (formerly `compile-messages.py`) were moved into `django-admin.py`. The old executables still exist, but raise errors and point the caller towards the correct command to run (both of these files are designed to be run from the command line, not as part of other programs). |
| 649 | |
| 650 | || '''Old command''' || ''' New ''' || |
| 651 | || {{{make-messages.py -l xx}}} || {{{django-admin.py makemessages -l xx}}} || |
| 652 | || {{{compile-messages.py -l xx}}} || {{{django-admin.py compilemessages -l xx}}} || |
| 653 | |
| 654 | The options accepted by the new form are the same as the options accepted by the old commands, only the calling convention has changed (this reduced the number of executables Django has to install). |