GDM: inconsistent language settings

Hi everyone,

When switching the system’s language to something other than English and later reverting it back, GDM doesn’t always pick up those settings. Login screen remains in whatever language you selected before. This happens on a single user system and was observed on GNOME 47 (Fedora 41) and GNOME 43 (Debian 12). The workaround of creating a second user to activate the hidden language selector for the login screen helps, however it would be nice for it to just work with a single user. Has anyone else noticed something similar?

Thanks.

gdm should follow whatever is configured in localectl. Does the output of localectl match what you expect and gdm somehow does not follow that?

Yes. Changing language through settings also changes the output of localectl.
But GDM doesn’t pick that up occasionally. Can’t figure out what are the exact conditions when this happens.

Does this problem persist across restarts?

Yes, it does. Only creating a second user and changing it back manually helps.

In addition to localed, language is also saved into accountsservice. But I don’t think the login screen actually looks at this…?