-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
captureLayer: Audio recording, device pairing, BLELayer: Audio recording, device pairing, BLEp2Priority: Important (score 14-21)Priority: Important (score 14-21)
Description
User impact
Users set transcription language to German in Omi Web, but transcription still comes out English.
Root cause (likely)
Web settings "Primary Language" updates /v1/users/language, but the recorder uses getTranscriptionPreferences() and expects prefs.language:
web/app/src/hooks/useRecording.tsconst prefs = await getTranscriptionPreferences();language = prefs.language || 'multi';
However backend GET /v1/users/transcription-preferences returns only:
single_language_modevocabulary
See backend/routers/users.py (TranscriptionPreferencesResponse). No language field is returned, so prefs.language is undefined → fallback to multi → auto-detect → often English.
Repro
- In Omi Web Settings → set Primary Language = German.
- Start recording.
- Observe socket sends
language=multiand transcription outputs English.
Fix options
- Web fix (preferred): fetch language from
/v1/users/language(or user profile) and pass that intocreateTranscriptionSocket. - Backend fix: add
languageto transcription-preferences response + persist it there; update web accordingly.
Files
- web/app/src/hooks/useRecording.ts
- web/app/src/components/settings/SettingsPage.tsx (calls setUserLanguage → /v1/users/language)
- web/app/src/lib/api.ts (getUserLanguage/setUserLanguage, getTranscriptionPreferences)
- backend/routers/users.py (transcription-preferences response model)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
captureLayer: Audio recording, device pairing, BLELayer: Audio recording, device pairing, BLEp2Priority: Important (score 14-21)Priority: Important (score 14-21)