HF RL Explorer

translations (i18n): fix bug

translations (i18n): fix bug: a task in smol-software-harbor (Harbor dataset). t("farewell", "pt-BR") in translate.py returns the key farewell instead of falling back to the default locale: chain() stops after the regional fallback. As the module docstring says, the lookup order is the locale, its…

The task

`t("farewell", "pt-BR")` in `translate.py` returns the key `farewell` instead of falling back to the default locale: `chain()` stops after the regional fallback. As the module docstring says, the lookup order is the locale, its fallback, then the default locale. Fix it and run `python3 -m pytest -q`.

Part of efederici/smol-software-harbor.