#8626: Translations from "en_US" locale being used even though
request.LANGUAGE_CODE is "en"
-------------------------------------------+--------------------------------
Reporter: francisoreilly | Owner: nobody
Status: new | Milestone: 1.0
Component: Internationalization | Version: SVN
Resolution: | Keywords: locale language
en-us en-US
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
-------------------------------------------+--------------------------------
Comment (by mtredinnick):
I can confirm this is happening (using the project provided). Poking
around a lot, the problem seems to be happening as result of something
inside `django.utils.translation.trans_real.translation()`. The Django
development server makes a call to `activate("en_US")` as part of setting
up itself initially and then the correct locale is set for each request.
Somehow, as part of that initial setup, the `en_US` translation is being
cached for `en`.
I'll pick this up again in the morning if nobody solves it in the interim.
--
Ticket URL: <http://code.djangoproject.com/ticket/8626#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---