sudo pkg install showkey).kbdcontrol -l es (es in your case). The only key you need to know is where the character - is located on US keyboard, if I remenber italian and spanish keyboard layout are more or less the same, the - is the ? (<shift> + the key at right of the 0 zero key).