#29489: Shell and default language preference
-------------------------------------+-------------------------------------
Reporter: Peyman | Owner: nobody
Karimi |
Type: Bug | Status: new
Component: | Version: 2.0
Internationalization | Keywords: shell,
Severity: Normal | LANGUAGE_CODE, USE_I18N
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
When we run the django shell (./manage.py shell), the default language
code (settings.LANGUAGE_CODE) is not activated by default
(settings.USE_I18N is set to True) and user has to activate it manually by
performing something like this:
{{{
from django.conf import settings
from django.utils import translation;
translation.activate(settings.LANGUAGE_CODE)
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/29489>
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/049.d3843a05c2d86585b6fe563e993a9862%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.