﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
35476	The precedence of multiple translations for the same literal does not work on Python3.11 & Python3.12	Dmytro Litvinov	Vasyl Dizhak	"According to documentation https://docs.djangoproject.com/en/4.2/topics/i18n/translation/#how-django-discovers-translations
Django will look for translations in the following order:

* LOCALE_PATHS directories
* 3rd party apps
* django/conf/locale

''I created example project with reproducing the issue at GitHub - https://github.com/DmytroLitvinov/django-i18n-issue''

As for Python3.10 it works according to documentation, but if we start to use Python3.11 and higher (like Python3.12) - we will see that the order is not correct and it will take first from 3rd party app (like in my example from django-allauth library).

To confirm that translation in LOCALE_PATHS are working correctly, we can comment out 'allauth' in INSTALLED_APPS settings and see that translation of word 'Continue' will be correctly taken from LOCALE_PATHS folders.





"	Bug	closed	Internationalization	4.2	Normal	duplicate	i18n, translation	Dmytro Litvinov Claude Paroz Vasyl Dizhak viktorparipas92	Accepted	0	0	0	0	0	0
