I have installed Plasma 5 and used the KDE control panel to set my locale to UK and keyboard layout to "gb" mapping. A preview shows the 2 key to have " when the shift key is is pressed while the ' has @ mapped with the shift modifier. Despite this pressing shift with the 2 key gives me an @ while the shift on the ' gives me ". Other keys are also wrongly mapped.

When I use the localectl command it shows:

System Locale: LANG=POSIX
VC Keymap: uk
X11 Layout: gb
X11 Model: pc105
X11 Options: terminate:ctrl_alt_bksp

Is there something else I need to correct the key mapping?