#24647: "django-admin compilemessages" does not compile translations for every
app
automatically, documentation is misleading
-------------------------------+--------------------
Reporter: jggc | Owner: nobody
Type: Bug | Status: new
Component: Documentation | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
The documentation at
https://docs.djangoproject.com/en/1.8/topics/i18n/translation/ says
{{{
When you run makemessages from the root directory of your project, the
extracted strings will be automatically distributed to the proper message
files. That is, a string extracted from a file of an app containing a
locale directory will go in a message file under that directory. A string
extracted from a file of an app without any locale directory will either
go in a message file under the directory listed first in LOCALE_PATHS or
will generate an error if LOCALE_PATHS is empty.
}}}
And a bit further it says :
{{{
This tool runs over all available .po files and creates .mo files, which
are binary files optimized for use by gettext. In the same directory from
which you ran django-admin makemessages, run django-admin compilemessages
like this:
}}}
This is misleading since django-admin compilemessages has to be ran in
every application's directory.
--
Ticket URL: <https://code.djangoproject.com/ticket/24647>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.a0e4956ebf9403f11cc005b28695048d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.