bug: Accept-Language: pl not recognized by Logto Cloud language detection
Author: Green7Created Apr 4, 2025Updated Sep 29, 2026
Labelsbugfeature-requeststatus/planned
Describe the bug
I've noticed that Logto Cloud's automatic language detection does not recognize pl (Polish) as a valid language for the UI.
How to reproduce?
Using the Accept-Language header in the browser:
es → UI appears in Spanish ✅
pl-PL → UI appears in Polish ✅
pl → UI falls back to English ❌
This is inconsistent, as pl is a valid and commonly used language code. Most systems treat pl and pl-PL as equivalent or fallback-compatible.
Source: logto-io/logto