The bug should be fixed here - FIX: Use resolved locale for localizations, instead of param+site default fallback by nattsw · Pull Request #39395 · discourse/discourse · GitHub
The feature evolved, but the resolution of the locale (for tl param) was outdated, causing the bug.