diff options
| author | Matthew Somerville <matthew-github@dracos.co.uk> | 2015-04-16 12:55:37 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-06-04 21:02:02 -0400 |
| commit | 40f0a84cb151669313faadf857aaddd18d39aaeb (patch) | |
| tree | fcfa0aea3ee68d0c17dfa91679e0d6b6fb14af81 /docs | |
| parent | 7bda2d8ebc7833747363ac837fecb6535c817dcd (diff) | |
Fixed #24159 -- Made compilemessages run across all apps.
Updated the command to match the documentation, which states it
runs over all .po files.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/django-admin.txt | 5 | ||||
| -rw-r--r-- | docs/releases/1.9.txt | 4 | ||||
| -rw-r--r-- | docs/topics/i18n/translation.txt | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/docs/ref/django-admin.txt b/docs/ref/django-admin.txt index c76ffc4ba9..37154365ff 100644 --- a/docs/ref/django-admin.txt +++ b/docs/ref/django-admin.txt @@ -161,6 +161,11 @@ are excluded. You can pass ``--use-fuzzy`` option (or ``-f``) to include fuzzy translations into compiled files. +.. versionchanged:: 1.9 + + ``compilemessages`` now matches the operation of :djadmin:`makemessages`, + scanning the project tree for ``.po`` files to compile. + .. versionchanged:: 1.8 Added ``--exclude`` and ``--use-fuzzy`` options. diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index 793e26ffa3..4047785ef1 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -193,6 +193,10 @@ Internationalization :ttag:`get_language_info` template tag. Also added a corresponding template filter: :tfilter:`language_name_translated`. +* You can now run :djadmin:`compilemessages` from the root directory of your + project and it will find all the app message files that were created by + :djadmin:`makemessages`. + Management Commands ^^^^^^^^^^^^^^^^^^^ diff --git a/docs/topics/i18n/translation.txt b/docs/topics/i18n/translation.txt index d3f68d2ca5..8e32f71bdc 100644 --- a/docs/topics/i18n/translation.txt +++ b/docs/topics/i18n/translation.txt @@ -1583,6 +1583,11 @@ which you ran :djadmin:`django-admin makemessages <makemessages>`, run That's it. Your translations are ready for use. +.. versionchanged:: 1.9 + + ``compilemessages`` now matches the operation of :djadmin:`makemessages`, + scanning the project tree for ``.po`` files to compile. + .. admonition:: Working on Windows? If you're using Windows and need to install the GNU gettext utilities so |
