mirror of
https://github.com/django/django.git
synced 2025-07-23 13:15:32 +00:00
Refs #26940 -- Re-allowed makemessages without settings
Thanks Tim Graham for the review.
This commit is contained in:
parent
63bf615d5e
commit
fa2f55cfd5
6 changed files with 37 additions and 12 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue