keymanapp / keyman

Keyman cross platform input methods system running on Android, iOS, Linux, macOS, Windows and mobile and desktop web
https://keyman.com/
Other
391 stars 108 forks source link

bug(developer): language `rsk` is given a blank name in compiled .keyboard_info #9762

Open LornaSIL opened 11 months ago

LornaSIL commented 11 months ago

This keyboard is for the rsk language and I believe it has the appropriate information in keyboard_info and .kps. However, the home page does not indicate that there is any language supported:

https://keyman.com/keyboards/rusyn

I've tested the keyboard on Android and it is working and indicates the correct language.

mcdurdin commented 11 months ago

The API is returning this:

"languages": {
        "rsk": {
            "displayName": "",
            "languageName": ""
        }
    },

Which is also seen in the compiled .keyboard_info:

"languages": {
    "rsk-RS": {
      "displayName": " (Serbia)",
      "languageName": "",
      "regionName": "Serbia"
    }
  },

I am not sure why, yet. The .kps and source .keyboard_info appear to be fine, so this is strange.

I will move this issue to the Keyman repository because it appears to be a compiler issue.

mcdurdin commented 11 months ago

This is fixed with 17.0.196-alpha, so I hope that we can just wait for the 17.0 alpha to land and use the data from that.