Keine Ausnahmenachricht, die eine Django -Vorlage zur Verfügung gestellt hat

#compilemessages

django-admin compilemessages
#Compiles .po files created by makemessages to .mo files for use with the built-in gettext support. See Internationalization and localization.

--locale LOCALE, -l LOCALE
#Specifies the locale(s) to process. If not provided, all locales are processed.

--exclude EXCLUDE, -x EXCLUDE
#Specifies the locale(s) to exclude from processing. If not provided, no locales are excluded.

--use-fuzzy, -f
#Includes fuzzy translations into compiled files.

Example usage:

django-admin compilemessages --locale=pt_BR
django-admin compilemessages --locale=pt_BR --locale=fr -f
django-admin compilemessages -l pt_BR
django-admin compilemessages -l pt_BR -l fr --use-fuzzy
django-admin compilemessages --exclude=pt_BR
django-admin compilemessages --exclude=pt_BR --exclude=fr
django-admin compilemessages -x pt_BR
django-admin compilemessages -x pt_BR -x fr

--ignore PATTERN, -i PATTERN
#Ignores directories matching the given glob-style pattern. Use multiple times to ignore more.

Example usage:

django-admin compilemessages --ignore=cache --ignore=outdated/*/locale
Imaginathan