keymanapp / keymanapp/keyman

bug(web): `addKeyboardsForLanguage`: can't add German

Open
#16,017 4 comments 0 reactions 1 assignee Claimed by @ermshiperete View on GitHub
bug web/
Dominant language
Pascal
Stars
534
Forks
143
Avg merge
2d 10h
Merged PRs (30d)
113

Description

The name for German used in the languages table is "German, Standard". However, trying to add that through a call to `addKeyboardsForLanguage` doesn't work because the parameters get split by comma and there is no exact match for "German".

This can be observed by two errors on the console:
```
keyman.addKeyboardsForLanguage failed with No keyboards are available for german. Does it have another language name?:
addLanguageKeyboards/<@http://127.0.0.1:3001/build/publish/debug/keymanweb.js:7056:63
...
No keyboards are available for standard. Does it have another language name?:
addLanguageKeyboards/<@http://127.0.0.1:3001/build/publish/debug/keymanweb.js:7056:63
...
for "German, Standard"
```

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.