From 40f0a84cb151669313faadf857aaddd18d39aaeb Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 16 Apr 2015 12:55:37 +0100 Subject: Fixed #24159 -- Made compilemessages run across all apps. Updated the command to match the documentation, which states it runs over all .po files. --- docs/ref/django-admin.txt | 5 +++++ docs/releases/1.9.txt | 4 ++++ docs/topics/i18n/translation.txt | 5 +++++ 3 files changed, 14 insertions(+) (limited to 'docs') 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 `, 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 -- cgit v1.3