Commit graph

5 commits

Author SHA1 Message Date
Eberhard Beilharz
1ce21e8ef2
fix(linux): Don't crash if und is specified without fonipa
Fixes #7723.
2022-11-15 18:30:23 +01:00
Eberhard Beilharz
0944d83f97
chore(linux): Code cleanup
Some reformatting.
2022-07-15 20:44:47 +02:00
Eberhard Beilharz
b9b1ff8a95
fix(linux): Improve error handling if lang_tags_map.py is missing
If the developer forgot to run `make` to create `lang_tags_map.py`
we now print a message instead of reporting to Sentry.

Fixes #5343
2021-06-23 17:09:59 +02:00
Eberhard Beilharz
42f3f36013
fix(linux): improve BCP 47 canonicalization
This is based on #4425. Also a few additional bug fixes that showed
up on the way.
2021-02-08 17:50:05 +01:00
Eberhard Beilharz
693f13a953
fix(linux): Improve fix for #3399
This improves the implementation for normalizing language tags
when installing a keyboard. Based on the Windows implementation
in `Keyman.System.CanonicalLanguageCodeUtils.pas`.

One difference to the Windows implementation is that the mapping of
3- to 2-letter tags is based on `langtags.json` instead of
`iso639-3.tab`.

Closes #3399.
2021-02-03 19:08:03 +01:00