#10078: Management commands should honor LANGUAGE_CODE settings
----------------------------------+-----------------------------------------
Reporter: gregoire | Owner: nobody
Status: new | Milestone:
Component: Internationalization | Version: SVN
Keywords: | Stage: Unreviewed
Has_patch: 0 |
----------------------------------+-----------------------------------------
Locale en-us is forced in management commands.
My application does not support en-us and should run its commands as fr,
as specified in the settings.
In BaseCommand.execute(), the comment says:
{{{
# Switch to English, because django-admin.py creates database content
# like permissions, and those shouldn't contain any translations.
}}}
I guess that commands requiring en-us should activate it themselves and
let everything else working in the expected locale.
--
Ticket URL: <http://code.djangoproject.com/ticket/10078>
Django <http://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
-~----------~----~----~----~------~----~------~--~---