Dodaios is an open-source agent OS for your desktop: it runs your coding agents, browser and apps by voice or chat, on your own machine. Formerly Personal Jarvis.
Python agent-orchestrationai-agentai-coding-assistantclaude-codecoding-agentcomputer-usedesktop-applocal-firstmcppersonal-jarvisvoice-assistantvoice-coding
fix(wake): make the wake-word LANGUAGE selector prominent and unambiguous
Harald2f8af76201de
diff --git a/jarvis/ui/web/frontend/src/i18n/locales/de.json b/jarvis/ui/web/frontend/src/i18n/locales/de.jsonindex bcc63ac78a..10fac0e200 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/de.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/de.json@@ -1069,8 +1069,9 @@"activation_saved": "Aktivierung gespeichert — Neustart nötig, damit sie greift.","phrase_label": "Aktivierungsphrase","phrase_placeholder": "z. B. Jonas",- "language_label": "Sprache der Spracherkennung",- "language_hint": "Wähle die Sprache, in der du dein Wake-Word SPRICHST. Das lokale Modell muss dazu passen — ein englisches Modell kann einen deutsch gesprochenen Namen nicht hören; ein Sprach-Mismatch ist die häufigste Ursache für ein Wake-Word, das nie auslöst. \"Auto\" nutzt die Oberflächensprache.",+ "language_label": "Welche Sprache sprichst du?",+ "language_callout_title": "Wähle die Sprache, die DU sprichst — nicht die Herkunft des Wortes.",+ "language_hint": "Jarvis erkennt deine Aussprache, nicht das Wort selbst. Wenn du Deutsch sprichst, wähle Deutsch — auch bei einem Namen wie „Ruben\" oder einem englischen Wort. Falsche Sprache = Jarvis hört dich lautlos nie. „Auto\" folgt deiner Oberflächensprache.","self_test_button": "Wake-Word testen","self_test_running": "Prüfe …","engine_label": "Erkennungs-Engine",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/en.json b/jarvis/ui/web/frontend/src/i18n/locales/en.jsonindex b1a4c23445..918ea549be 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/en.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/en.json@@ -1070,8 +1070,9 @@"activation_saved": "Activation saved — restart to apply.","phrase_label": "Wake phrase","phrase_placeholder": "e.g. Jonas",- "language_label": "Voice recognition language",- "language_hint": "Pick the language you SPEAK your wake word in. The local model must match it — an English model cannot hear a German-spoken name, so a mismatch is the #1 cause of a wake word that never fires. \"Auto\" uses the interface language.",+ "language_label": "Which language do you speak?",+ "language_callout_title": "Choose the language you SPEAK — not where the word comes from.",+ "language_hint": "Jarvis matches your pronunciation, not the word itself. If you speak German, choose German — even for a name like \"Ruben\" or an English word. Pick the wrong language and Jarvis silently never hears you. \"Auto\" follows your interface language.","self_test_button": "Test wake word","self_test_running": "Checking…","engine_label": "Detection engine",diff --git a/jarvis/ui/web/frontend/src/i18n/locales/es.json b/jarvis/ui/web/frontend/src/i18n/locales/es.jsonindex 8ef4d95305..f81a7b2320 100644--- a/jarvis/ui/web/frontend/src/i18n/locales/es.json+++ b/jarvis/ui/web/frontend/src/i18n/locales/es.json@@ -1069,8 +1069,9 @@"activation_saved": "Activación guardada — reinicia para aplicar.","phrase_label": "Frase de activación","phrase_placeholder": "p. ej. Jonas",- "language_label": "Idioma de reconocimiento de voz",- "language_hint": "Elige el idioma en el que PRONUNCIAS tu palabra de activación. El modelo local debe coincidir — un modelo en inglés no puede oír un nombre pronunciado en alemán; un desajuste es la causa nº 1 de una palabra de activación que nunca se activa. \"Auto\" usa el idioma de la interfaz.",+ "language_label": "¿Qué idioma hablas?",+ "language_callout_title": "Elige el idioma que HABLAS, no el origen de la palabra.",+ "language_hint": "Jarvis reconoce tu pronunciación, no la palabra en sí. Si hablas alemán, elige alemán — incluso para un nombre como \"Ruben\" o una palabra en inglés. Un idioma equivocado y Jarvis nunca te oye, en silencio. \"Auto\" sigue el idioma de la interfaz.","self_test_button": "Probar palabra de activación","self_test_running": "Comprobando …","engine_label": "Motor de detección",diff --git a/jarvis/ui/web/frontend/src/views/SettingsView.tsx b/jarvis/ui/web/frontend/src/views/SettingsView.tsxindex f324f35bfb..1f867d6f74 100644--- a/jarvis/ui/web/frontend/src/views/SettingsView.tsx+++ b/jarvis/ui/web/frontend/src/views/SettingsView.tsx@@ -4,6 +4,7 @@ import {Mic,Keyboard,Loader2,+ Languages,X,} from "lucide-react";import { ViewHeader } from "@/views/ChatsView";@@ -368,27 +369,39 @@ function WakeWordPanel() {</p>) : null}- {/* Voice-recognition language — the wake model must match the spoken- language (the #1 cause of a dead wake word). Bound to the shared- STT-language machinery, so it agrees with the runtime wake plan. */}- <label className="mt-4 block text-xs font-medium text-muted-foreground">- {t("settings_view.wake_word.language_label")}- </label>- <select- value={sttLang}- onChange={(e) => void setSttLanguage(e.target.value as SttLanguage)}- disabled={loading}- className="mt-1 w-full rounded-md border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary disabled:opacity-50"- >- {WAKE_STT_LANGUAGES.map((code) => (- <option key={code} value={code}>- {t(`languages_view.options.${code}.label`)}- </option>- ))}- </select>- <p className="mt-1 text-[11px] leading-snug text-muted-foreground">- {t("settings_view.wake_word.language_hint")}- </p>+ {/* LANGUAGE — deliberately prominent + over-explained. Picking the+ wrong language here is the #1 cause of a silently dead wake word,+ and the trap is unintuitive: it is about the language the user+ SPEAKS (their accent/pronunciation), NOT the origin of the word+ ("Ruben" is heard by the German model because the user speaks it+ in German, not because the name is German). Bound to the shared+ STT-language machinery so it agrees with the runtime wake plan. */}+ <div className="mt-4 rounded-md border border-primary/50 bg-primary/5 p-3">+ <div className="flex items-center gap-2">+ <Languages className="h-4 w-4 shrink-0 text-primary" />+ <span className="text-xs font-semibold">+ {t("settings_view.wake_word.language_label")}+ </span>+ </div>+ <p className="mt-1.5 text-xs font-semibold text-primary">+ {t("settings_view.wake_word.language_callout_title")}+ </p>+ <select+ value={sttLang}+ onChange={(e) => void setSttLanguage(e.target.value as SttLanguage)}+ disabled={loading}+ className="mt-2 w-full rounded-md border border-input bg-background px-3 py-2 text-sm focus:outline-none focus:ring-1 focus:ring-primary disabled:opacity-50"+ >+ {WAKE_STT_LANGUAGES.map((code) => (+ <option key={code} value={code}>+ {t(`languages_view.options.${code}.label`)}+ </option>+ ))}+ </select>+ <p className="mt-2 text-[11px] leading-snug text-muted-foreground">+ {t("settings_view.wake_word.language_hint")}+ </p>+ </div>{/* Engine select */}<label className="mt-4 block text-xs font-medium text-muted-foreground">