keymanapp / keymanapp/keyman

bug(windows): trying to add language `en` to keyboard adds `en-US`

Open
#13,542 3 comments 0 reactions 0 assignees View on GitHub
bug m:bcp47 windows/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

When I select the row "English | United States | English | en" in the "Add Language to Keyboard" dialog, `en-us` gets added (see screenshots below). This is a bit confusing since I explicitly selected the "en" row, not "en-US".

If we can't add "en" then we might want to display a message box, telling the user that "en-US" gets added instead of "en".

![Image](https://github.com/user-attachments/assets/92e4d543-5f03-45bb-a2ac-c10505b981e6)

![Image](https://github.com/user-attachments/assets/0deaa59c-ed63-44f7-8256-87b24d140b4b)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.