First, you have to su root, and cd to /var -> root -> Library -> Preferences. Then type pico .GlobalPreferences.plist, and modify the order of the following item in this array:
<key>AppleLanguages</key>
<array>
<string>French</string>
<string>English</string>
<string>German</string>
<string>Japanese</string>
</array>
The first <string> will be the keyboard used for typing in the login window. I don't know is this is the same for Mac OS X client.

