#24247: makemessages command should use case insensitivity when checking for
paths
in LOCALE_PATHS
--------------------------------------+----------------------
Reporter: thyleung | Owner: thyleung
Type: Bug | Status: new
Component: Internationalization | Version: 1.6
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+----------------------
The makemessages command should use case insensitivity when checking for
paths in LOCALE_PATHS
For example, I set LOCALE_PATHS to the path ‘locale’
The .po files will only be generated if the locale folder is named with
the same lowercase spelling of ‘locale’.
If the locale folder has the name “LOCALE”, Django will not find the
folder ‘locale’, and makemessages will throw out this command error:
Error: This script should be run from the Django SVN tree or your project
or app tree. If you did indeed run it from the SVN checkout or your
project or application, maybe you are just missing the conf/locale (in
the django tree) or locale (for project and application) directory? It is
not created automatically, you have to create it by hand if you want to
enable i18n for your project or application.
--
Ticket URL: <https://code.djangoproject.com/ticket/24247>
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/051.906b9911344637622795442cc2785a18%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.