Simplified the keyboard locale data structure.