spiegel-keyman/linux/keyman-config/keyman_config
Eberhard Beilharz 951793ea84
fix(linux): normalize language tags from keyboard
This fixes a bug where a keyboard didn't show up in the language dropdown
if the first language it specified wasn't a normalized language tag.
Previously in that case we added a custom keyboard with whatever language
tag the keyboard specified. With this change we now continue to use
the first language of the first keyboard but normalize it. Since the
selection of the language now happens a little earlier it is slightly
possible that there will be unexpected side effects that didn't show up
in my testing.

Fixes: #14465
2025-08-18 19:49:38 +02:00
..
icons rename keymanconfig to keyman_config 2018-09-01 12:28:16 +07:00
standards fix(linux): Improve error handling if lang_tags_map.py is missing 2021-06-23 17:09:59 +02:00
__init__.py fix(linux): display error and abort if fonttools are missing 2024-08-28 16:14:17 +07:00
accelerators.py chore(linux): Sorting of imports 2022-07-18 15:19:50 +02:00
bcp47tag.py fix(linux): Use raw string for regex 2024-02-06 17:01:59 +01:00
canonical_language_code_utils.py fix(linux): normalize language tags from keyboard 2025-08-18 19:49:38 +02:00
check_mime_type.py chore(linux): Sorting of imports 2022-07-18 15:19:50 +02:00
convertico.py refactor(linux): make method private and change variable names 2024-06-14 15:58:21 +02:00
custom_keyboards.py feat(linux): Deal with temporary dbus session 2024-03-22 12:54:50 +01:00
dbus_util.py fix(linux): ignore DBusException during install and uninstall 2025-02-26 18:24:27 +01:00
dconf_util.py refactor(linux): Fix warning 2023-08-28 20:11:41 +02:00
deprecated_decorator.py chore(linux): Add deprecated decorator 2021-06-25 18:52:10 +02:00
downloadkeyboard.py chore: Revert "Merge branch 'master' into beta" 2025-02-14 07:45:28 +07:00
fcitx_util.py Do not restart Fcitx 2023-12-07 13:41:21 -08:00
get_info.py chore(linux): More import sorting 2022-07-18 17:10:01 +02:00
get_kmp.py fix(linux): ignore exceptions trying to install cache 2024-06-24 18:13:28 +02:00
gnome_keyboards_util.py fix(linux): Improve detection of Gnome environment 2024-04-23 15:16:03 +02:00
gsettings.py chore(linux): adjust to renamed xdg module 2025-02-26 12:14:00 +01:00
handle_install.py chore(linux): Refactorings 2023-06-07 18:57:20 +02:00
ibus_util.py fix(linux): Improve detection of Gnome environment 2024-04-23 15:16:03 +02:00
install_kmp.py fix(linux): normalize language tags from keyboard 2025-08-18 19:49:38 +02:00
install_window.py Merge branch 'master' into chore/merge-beta-into-master-B18S2 2025-03-01 15:45:19 +07:00
keyboard_details.py chore(linux): fall back to package id 2025-04-03 15:56:07 +02:00
keyboard_layouts_model.py refactor(linux): Extract widgets to separate classes and files 2023-06-13 20:05:48 +02:00
keyboard_layouts_widget.py refactor(linux): Rename OptionsView to KeyboardOptionsView 2023-06-13 20:05:49 +02:00
keyboard_options_view.py chore: Revert "Merge branch 'master' into beta" 2025-02-14 07:45:28 +07:00
keyman_option.py chore(linux): change SIL International to SIL Global 2024-12-10 10:26:44 +01:00
kmpmetadata.py chore(linux): Refactorings 2023-06-07 18:58:06 +02:00
kvk2ldml.py fix(linux): properly deal with types of names 2024-08-24 12:16:04 +08:00
list_installed_kmp.py fix(linux): Replace deprecated pkg_resources module in remaining places 2024-03-20 11:44:00 +01:00
options_widget.py feat(linux): implement UI part of SimulateAltGr option 2024-06-21 18:24:02 +02:00
sentry_handling.py chore(linux): change SIL International to SIL Global 2024-12-10 10:26:44 +01:00
uninstall_kmp.py fix(linux): Improve detection of Gnome environment 2024-04-23 15:16:03 +02:00
version.py.in fix(linux): fix variable replacements 2025-05-22 16:20:18 +02:00
view_installed.py feat(linux): re-create missing files at run-time 2024-06-14 18:11:11 +02:00
welcome.py chore: Revert "Merge branch 'master' into beta" 2025-02-14 07:45:28 +07:00