Implement keyboard locale for windows
Fix typo: local -> locale