# Audio Transcription Auto Detection of Language

**URL:** <https://discuss.vllm.ai/t/audio-transcription-auto-detection-of-language/1496>\
**Category:** General\
**Created:** [September 1, 2025, 2:03pm UTC](https://discuss.vllm.ai/t/audio-transcription-auto-detection-of-language/1496 "2025-09-01T14:03:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![javiergonzales06](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@javiergonzales06](https://discuss.vllm.ai/u/javiergonzales06)\
**Post date:** [September 1, 2025, 2:03pm UTC](https://discuss.vllm.ai/t/audio-transcription-auto-detection-of-language/1496/1 "2025-09-01T14:03:01Z")

</div>

In this current version, When i want to post request /v1/audio/transcriptions, If i do not pass language parameter, response is nonsense. So, when i did automation for speech to text i do not realize what language every audio files. Could you suggest me any idea according to that?

---

<div class="post-metadata">

**Author:** ![RunLLM](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.vllm.ai/runllm/32/233_2.png) [@RunLLM](https://discuss.vllm.ai/u/RunLLM)\
**Post date:** [September 1, 2025, 2:03pm UTC](https://discuss.vllm.ai/t/audio-transcription-auto-detection-of-language/1496/2 "2025-09-01T14:03:52Z")

</div>

Currently, vLLM’s `/v1/audio/transcriptions` endpoint does not support automatic language detection for Whisper and similar models. If you omit the `language` parameter, the model defaults to English, which can result in incorrect or “nonsense” transcriptions for non-English audio. This limitation is acknowledged by the vLLM team, and users are advised to always specify the language explicitly for accurate results. There is ongoing discussion and partial work towards adding language detection, but it is not yet available in the main release ([see here](https://github.com/vllm-project/vllm/issues/14174), [here](https://github.com/vllm-project/vllm/pull/13465), and [here](https://github.com/vllm-project/vllm/pull/21833)).

As a workaround, you should use an external language detection tool to determine the language of each audio file before sending it to vLLM, then pass the detected language as the `language` parameter in your transcription request. This is currently the recommended approach to avoid incorrect transcriptions and operational issues ([see here](https://github.com/vllm-project/vllm/issues/14174)). Would you like more detail or example code for integrating language detection in your workflow?

Sources:

- [Feature: will whisper add language detection?](https://github.com/vllm-project/vllm/issues/14174)
- [Frontend Feature: support transcription API with language detection](https://github.com/vllm-project/vllm/pull/13465)
- [Bugfix Relax lang pin for voxtral](https://github.com/vllm-project/vllm/pull/21833)
