Mac has wrong Spanish keyboard layout

My Mac has the wrong layout for the Spanish keyboard.

Layout Mac thinks my keyboard is:

My Spanish ISO layout

Expected Spanish ISO layout:

Expected Spanish ISO layout

As you can see from the images - the layouts are different. For example, '<' and '>' are in different locations.

Any idea how to fix this?

Additional Information I am using a Macbook Pro Mid 2009. OS - Lion - OS X 10.7.3. It does have a built-in keyboard, but thats the UK keyboard. External Spanish Keyboard is a Logitech wireless DiNovo http://www.dvhardware.net/article6438.html. I do not have any more external keyboards.

Keyboard Prefs: Keyboard Prefs

Bluetooth Settings


It appears the Mac thinks you have an ANSI keyboard when you actually have an Extended ISO keyboard. The layout you show as being active is the layout I see when I set my Mac Book Pro to Spanish ISO using the built-in ANSI keyboard. Probably you skipped Keyboard Setup when you installed Lion or you pressed the wrong buttons or something. In any case, it should be fixed by re-running Keyboard Setup.

  1. Choose Apple menu > System Preferences, and then click Keyboard.
  2. Click Change Keyboard Type.
  3. Follow the onscreen instructions when Keyboard Setup Assistant appears.

If the "Change Keyboard Type" button does not appear, then as a last resort you can try deleting the /Library/Preferences/com.apple.keyboardtype.plist file. First, turn off your Bluetooth keyboard, then delete it from the Bluetooth preferences, then delete the file, then reboot, then re-pair your keyboard. This should automatically bring up the Keyboard Setup Assistant.

Since you have a Logitech Bluetooth keyboard other things to try would be

  • Install, update, or re-install the Logitech drivers for the keyboard.

Note, however, that Logitech does not support your keyboard on the Mac.