HF RL Explorer

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

Internationalisation didn't support language locale containing both script and region. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). The i18n patterns didn't work with locale contains both script and region, like en-latn-us. Given settings.py LANGUAGE CODE = 'en-us' LANGUAGES…

The task

The i18n_patterns didn't work with locale contains both script and region, like en-latn-us. Given settings.py LANGUAGE_CODE = 'en-us' LANGUAGES = [ ('en-us', "English"), ('en-latn-us', "Latin English"), ('en-Latn-US', "BCP 47 case format"), ] urls.py from django.conf.urls.i18n import i18n_patterns from django.http…

Part of Lego-X/Lego-RL-SWE-Bench-Verified.