minutes icon indicating copy to clipboard operation
minutes copied to clipboard

Support configurable transcription language

Open bilune opened this issue 8 months ago • 2 comments

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 :)

bilune avatar Mar 21 '26 15:03 bilune

Great point, will absolutely add this!

silverstein avatar Mar 21 '26 17:03 silverstein

Hey @bilune — go for it! Would love a PR.

Quick pointers to save you some digging:

  • Add a language: Option<String> field to TranscriptionConfig in crates/core/src/config.rs (default to Some("en".into()))
  • In crates/core/src/transcribe.rs line 95, replace the hardcoded Some("en") with config.transcription.language.as_deref()
  • Update the test config in tests/integration/pipeline_test.rs to 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!

silverstein avatar Mar 21 '26 17:03 silverstein