Skip to content

Conversation

@vladstudio
Copy link
Contributor

Adds a new language selection option that automatically detects and uses the current OS keyboard input source for transcription. When the user switches keyboard layouts (e.g., from US to Russian), the app detects this and sets the corresponding language for Whisper.

  • New input_source.rs module with cross-platform keyboard layout detection (macOS via defaults, Windows via PowerShell, Linux via setxkbmap)
  • Maps ~30 common keyboard layouts to ISO 639-1 codes for each platform
  • UI shows resolved language (e.g., "Follow OS (Russian)") and polls every 5s
  • Falls back to auto-detect if keyboard layout isn't mapped

🤖 Generated with Claude Code

@vladstudio
Copy link
Contributor Author

Screen.Recording.2026-01-09.at.13.47.26.mp4

@cjpais
Copy link
Owner

cjpais commented Feb 5, 2026

wtf im so sorry I didn't look at this earlier, this is great!!

would you mind rebasing?!

When selected, the app detects the current OS keyboard layout and maps
it to the appropriate transcription language. Supports macOS, Windows,
and Linux input sources with mapping to ISO 639-1 language codes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vladstudio vladstudio force-pushed the feature/os-input-language branch from 3322718 to f83f3a6 Compare February 5, 2026 17:52
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vladstudio
Copy link
Contributor Author

I tried!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants