#18261: Clarify the term "project root directory"
-------------------------+-------------------------------------------------
Reporter: | Owner: nobody
schnippi | Status: new
Type: | Version: 1.4
Uncategorized | Keywords: project root, root directory,
Component: | translation, makemessages, compilemessages
Documentation | Has patch: 0
Severity: Normal | UI/UX: 0
Triage Stage: |
Unreviewed |
Easy pickings: 0 |
-------------------------+-------------------------------------------------
The documentation at
{{{
https://docs.djangoproject.com/en/dev/topics/i18n/translation/#message-
files
}}}
states that
{{{
django-admin.py makemessages
}}}
should be run from "the root directory of your Django project" or "the
root directory of your Django app".
As the Django 1.4 directory structure creates mysite/ and mysite/mysite/,
it is unclear, what the project's root directory is. Running django-admin
makemessages/compilemessages within mysite/ makes the the Django
translation system ignore my translation file. Running the commands in
mysite/mysite/ instead does work as expected.
It should be explicitly stated in the tutorial, that mysite/mysite/ is the
project's root directory.
--
Ticket URL: <https://code.djangoproject.com/ticket/18261>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.