Skip to content

Conversation

@mcdurdin
Copy link
Member

Problem description in #312; this fix just uses the existing langtags name rather than the name from the .keyboard_info, which could vary. The name is used only as a display name, not a search name, so no searching will be impacted. It is possible that a different name may be selected as representative, but that is probably better because we should be using langtags.json for language names in most contexts anyway.

Fixes: #312
Test-bot: skip

Problem description in #312; this fix just uses the existing langtags
name rather than the name from the .keyboard_info, which could vary. The
name is used only as a display name, not a search name, so no searching
will be impacted. It is possible that a different name may be selected
as representative, but that is probably better because we should be
using langtags.json for language names in most contexts anyway.

Fixes: #312
@keymanapp-test-bot
Copy link

User Test Results

Test specification and instructions

User tests are not required

@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S16 milestone Nov 20, 2025
Copy link
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1-line fix! lgtm

@mcdurdin mcdurdin merged commit 0732abd into master Nov 20, 2025
6 checks passed
@mcdurdin mcdurdin deleted the fix/312-select-first-matching-language-in-langtag-canonicalization branch November 20, 2025 06:34
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

bug: sjs-latn duplication causing database build failure

3 participants