keyboard layout

I have a computer with spanish keyboard layout, and sometimes,
automatically, after booting the keyboard layout changes to english.

Any idea of how to solve it or to change the default keyboard layout to
spanish?? I am using QNX 6.3, but it happens too in other versions.

Thank you