#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: Accepted | Has_patch: 1
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 1 |
-------------------------------------------+--------------------------------
Comment (by ramiro):
Wow guys, that was smart and digging at very low level.
Following a suggestion from Malcolm I had been trying to even
unconditionally (by not checking if the new one shared a lang spec prefix
with a previously cached one) `deepcopy`ing the Python translation objects
in `translation._fetch` and littering the `trans_real.py` file with
debugging statements, all without success and without a clue of what could
be the real cause of the problem.
--
Ticket URL: <http://code.djangoproject.com/ticket/8626#comment:8>
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
-~----------~----~----~----~------~----~------~--~---