Refs #26940 -- Re-allowed makemessages without settings

Thanks Tim Graham for the review.
This commit is contained in:
Claude Paroz 2016-09-29 16:13:10 +02:00
parent 63bf615d5e
commit fa2f55cfd5
6 changed files with 37 additions and 12 deletions

View file

@ -564,6 +564,11 @@ directory. After making changes to the messages files you need to compile them
with :djadmin:`compilemessages` for use with the builtin gettext support. See
the :ref:`i18n documentation <how-to-create-language-files>` for details.
This command doesn't require configured settings. However, when settings aren't
configured, the command can't ignore the :setting:`MEDIA_ROOT` and
:setting:`STATIC_ROOT` directories or include :setting:`LOCALE_PATHS`. It will
also write files in UTF-8 rather than in :setting:`FILE_CHARSET`.
.. django-admin-option:: --all, -a
Updates the message files for all available languages.