Leaklens

django__django-15098

Internationalisation didn't support language locale containing both script and region.

Verdict: the issue points to the file or function that was changed (Tier B).

After a very quick glance, an idea could be to take settings.LANGUAGES into account somehow in get_language_from_path. Extending the regex might catch way too much non-language stuff.

The text points to the exact place to change: “After a very quick glance, an idea could be to take settings.LANGUAGES into account somehow in get_language_from_path. Extending the regex might catch way too much non-l…”

All SWE-bench Verified tasks · more django/django tasks · How the check works