Keyboard layout after installation

Hello,

I installed RockyLinux on a VM. During the setup I did make the following settings (The english translataion is my own I do not know how this called exactly if you set install language to english.
Keyboard Layout
1.) Deutsch (Österreich) ← Translates to German(Austia)
2) Englisch (USA, mit Euro auf 5) ← Translates to English(USA, with Euro-Sign on 5)
Supported Languages
1.) German, German (Austria)
2.) English, English (USA)

after finishing the installation I noticed that if I call localectl the output is

System Locale: LANG=C.UTF-8
    VC Keymap: (unset)
   X11 Layout: at,us
  X11 Variant: ,

that came as a suprise because I expected something like

LANG=de_AT.UTF-8

Is this the expected behavior?

There seems to be no negative effect on SSH connections since all special characters seems to be correct. However I noticed that the keyboard mapping is off when connection to the console directly in the vm management tool.

Update:
The problem lies even deeper.
I just notice after a call of localectl list-locales that no german locale is installed even if I explicitly installed the system with german language support. On the other hand 14 english locales are installed that I never intended to install.

I’d presume that some is explained in:

man localectl
man systemd-localed
man vconsole.conf
man locale.conf

I have boring:

$ localectl
System Locale: LANG=en_US.UTF-8
    VC Keymap: se-dvorak
   X11 Layout: se
  X11 Variant: dvorak

Which seems to correspond to files:

$ cat /etc/locale.conf
LANG=en_US.UTF-8

$ cat /etc/vconsole.conf 
KEYMAP=se-dvorak
FONT=eurlatgr

$ cat /etc/X11/xorg.conf.d/00-keyboard.conf 
# Written by systemd-localed(8), read by systemd-localed and Xorg. It's
# probably wise not to edit this file manually. Use localectl(1) to
# instruct systemd-localed to update it.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "se"
        Option "XkbVariant" "dvorak"
EndSection

I have no idea whether Wayland is told by some other means.


I seem to have a “huge list” of locales, but do not recall installing any explicitly:

$ localectl list-locales | wc -l
315

Unfortunally I do not have the time for detaile testing.
Did you install your system with only one language in the language support window or did you choose a second language like me?
I suspect that maybe the problem is with 2 languages selected, because I can not recall having this kind of problem when only installing with german language support. On the other hand this was RockyLinux8.5 so I have no data for RockyLinux9.
I will try to find the time and make a setup with only one supported language and publish the results here.

I don’t think that I have ever even considered of more than one language. Did not know that it is an option.
I have added multiple keyboard layouts for some systems.

I tried installing RockyLinux just with German(Austria) as language support and only one keyboard layout.
All buttons are now working as excpeted.
localectl list-locales output is unchanged and only lists english variants
localectl output looks like this.

System Locale: LANG=C.UTF-8
    VC Keymap: at
   X11 Layout: at

So I assume the installation did not set VC Keymap. Maybe because it did not know what to set since there are two keymaps to choose from. I did assume that it would take the first one but that is clearly not the case.
So the last questions are, is that wanted behavior, can VC Keymap set on a user basis and if yes how?