#8584: Corner case for get_language_for_request function in translation ---------------------------+------------------------------------------------ Reporter: ramiro | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ As I understand the problem would show itself if the following, rather strange, conditions are met:
* User language preference specify `xx-YY` * `xx_YY` l10n is supported by the Django installation (i.e. it's listed in `settings.LANGUAGE`) * The actual `xx_YY/LC_MESSAGES/django.mo` is missing from the project, or the Django installation itself * `xx` is listed in in `settings.LANGUAGE` * `xx/LC_MESSAGES/django.mo` file exists In this scenario, Django won't use the `xx` translation. PS: Also, `pyflakes` points out there is an unused import of `settings` in line 61 of the same file. -- Ticket URL: <http://code.djangoproject.com/ticket/8584> 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 -~----------~----~----~----~------~----~------~--~---
