Open mcdurdin opened 4 months ago
3 is where I was going but 4 makes some sense for compatibility. The downside is that for pre-v17, the fonipa
information is then 'lost', I don't know what the user impact is though?
3 is where I was going but 4 makes some sense for compatibility.
We need the back-compat approach because existing builds of Keyman don't have the fixup code.
The downside is that for pre-v17, the
fonipa
information is then 'lost', I don't know what the user impact is though?
Sadly, fonipa
info will be lost in almost all cases because:
fonipa
is not supported by Windows. We have to fallback to und-Latn
(but that fails too, see OP), so we are almost back to the bad old days of Icelandic means IPAI think for v17 we may have to go with option 1, and improve the story in v18 with option 4.
I should note that there is some precedent for fixups in Keyman for Windows already, see #1285. It's all horribly messy.
OK, so more wrinkles. Keyman Developer currently only allows lang-script-region triplet, both in the compiler, and in the UI. IMO, we are too far into beta to be making significant changes to the BCP 47 handling in Keyman Developer.
So I think that at this point, sadly, we are stuck with option 2 for v17. For v18, we'll go with option 4. The only real cost for v17 is that the keyboard search will not return anything for 'fonipa', but I suspect the number of users who try to search for that is vanishingly small.
(We need a better BCP 47 picker in Developer; the current one is stuck on lang-script-region and not actually terribly helpful even with that.)
sil_ipa currently has
und-fonipa
as its langtag in .keyboard_info, which is the most appropriate tag. However, for compatibility reasons (e.g. #10754), the .kps listsund-Latn
(which has its own problem #10727 but that's beside the point).The problem is that we have eliminated .keyboard_info from the source of keyboards with 17.0. This means that there is no way to maintain this distinction. Potential fixes:
und-latn
in the keyboard search and shrug