#14924: I18N looks for translations in the reverse order of the apps -------------------------------------------+-------------------------------- Reporter: vanschelven | Owner: nobody Status: new | Milestone: Component: Internationalization | Version: 1.2 Resolution: | Keywords: Stage: Accepted | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | -------------------------------------------+-------------------------------- Changes (by ramiro):
* has_patch: 0 => 1 Comment: The 14924.1.diff patch implements the modifcations discussed here and in the [http://groups.google.com/group/django- developers/browse_thread/thread/6c098e16da4c49ae?hl=en mailing list thread]. Namely, to modify the precedence of loading of translations from compiled message files from the current situation (from higher to lesser): * The translation found in locale/ subdir of the the project dir. * The translations found in the apps listed in settings.INSTALLED_APPS with the latter ones having higher precedence. * The translations found in the paths listed in settings.LOCALE_PATHS with the latter ones having higher precedence. * The translations shipped with Django. To (also from higher to lesser precedence): * The translations found in the paths listed in settings.LOCALE_PATHS with the ones located first having higher precedence. * The translation found in locale/ subdir of the the project dir. * The translations found in the apps listed in settings.INSTALLED_APPS with the ones located first having higher precedence. * The translations shipped with Django. As proposed by vanschelven. Tests and docs were modified accordingly. Some of these tests/docs mods are tweaks that can be extracted and applied even if this ticket isn't accepted or committing of the patch is deferred. -- Ticket URL: <http://code.djangoproject.com/ticket/14924#comment:4> 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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.