minutes
minutes copied to clipboard
Support configurable transcription language
Hey! Just installed minutes via Homebrew and it's working great. I noticed the transcription language is hardcoded to English in transcribe.rs — I speak Spanish so Whisper is translating everything to English instead of keeping the original language.
Would be great to support a language option in config.toml, something like:
[transcription]
language = "es"
Happy to open a PR if you're open to it :)
Great point, will absolutely add this!
Hey @bilune — go for it! Would love a PR.
Quick pointers to save you some digging:
- Add a
language: Option<String>field toTranscriptionConfigincrates/core/src/config.rs(default toSome("en".into())) - In
crates/core/src/transcribe.rsline 95, replace the hardcodedSome("en")withconfig.transcription.language.as_deref() - Update the test config in
tests/integration/pipeline_test.rsto include the new field
Setting it to None (omitting from config) would let Whisper auto-detect, which is a nice bonus.
Happy to review whenever you're ready!