feat(languages): add Slovenian (sl) to the supported languages (#995)

Slovenian was missing from SUPPORTED_LANGUAGES, so the Settings picker did not offer it and normalize_language_shortcuts dropped any shortcut bound to it. Add it as a Whisper-only entry (whisper code sl; alphacephei publishes no Slovenian VOSK model), map the Slovenian XKB layout si to it for follow-keyboard-layout, and list it on the website languages page.

Fixes #970
This commit is contained in:
Jatin K Malik
2026-10-20 23:29:47 -07:00
committed by GitHub
parent 65de3427fb
commit 3abc106fdb
7 changed files with 82 additions and 1 deletions
+1
View File
@@ -29,6 +29,7 @@ _LAYOUT_TO_LANGUAGE = {
"gb": "en-us",
"cz": "cs",
"se": "sv",
"si": "sl",
"dk": "da",
"gr": "el",
"ua": "uk",
+5
View File
@@ -153,6 +153,11 @@ SUPPORTED_LANGUAGES = {
"whisper": "ru",
"vosk": "vosk-model-small-ru-0.22",
},
"sl": {
"name": "Slovenian",
"whisper": "sl",
"vosk": None,
},
"es": {
"name": "Spanish",
"whisper": "es",