When I return to Mexico shortly, I found that during the steps I took to setup a keyboard to be switchable between english-spanish-russian, there was a problem with one program outputting 'en' but kbd -l giving 'us'. Since I only have that set-up back there, I can't show you the file that worked. pretty sure I used dual shift keys to switch keyboard encodings.
I'll look up the thread on misc@ that I asked about all this right now. See if I can reproduce here. Chris Bennett