BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDeveloping AI Apps and Agents on Azure (AI-103)Translate speech into other languages by using language models and Foundry Tools
Lesson2,489 words

Translate speech into other languages by using language models and Foundry Tools

AI-103 › Unit 4: Implement text analysis solutions › Implement speech solutions › Translate speech into other languages by using language models and Foundry Tools

Translate speech into other languages by using language models and Foundry Tools

Two services translate speech, and they differ in what comes out. Speech translation supports "speech-to-speech and speech-to-text translation" in real time. LLM speech's translate converts pre-recorded audio into text in a target language. If the requirement is spoken output, only one of them answers it.

Why This Matters

Speech-to-speech is a distinct capability. Speech translation "enables real-time, multilingual translation of speech" and is used "for speech-to-speech and speech-to-text translation".

LLM speech translate returns text. "Convert pre-recorded audio into text in a specified target language" — so no spoken output, and no streaming.

Language identification composes with translation. It works "by itself, with speech-to-text recognition, or with speech translation".

Output shape and timing decide it

Spoken output, live → speech translation (speech-to-speech, real time). Text output, live → speech translation (speech-to-text). Text output, pre-recorded, with prompt-tuning → LLM speech translate — but it is preview. If the source language is unknown, add language identification, which composes with speech translation.

Prerequisites

  • The three transcription modes.
  • LLM speech's tasks and its preview and pre-recorded constraints.
  • Translator's text translation features and terminology controls.
  • SSML and voice selection for synthesis.

Learning Objectives

By the end of this lesson you will be able to:

  1. Choose between speech translation and LLM speech translate.
  2. Distinguish speech-to-speech from speech-to-text translation.
  3. Compose language identification with translation.
  4. Assemble a pipeline where no single service fits.
  5. Apply terminology control across a speech translation flow.

Building Blocks

Speech translation. It "enables real-time, multilingual translation of speech to your applications, tools, and devices. Use this feature for speech-to-speech and speech-to-text translation." The scenario framing adds: "Generate high-quality speech-to-speech translation in real time, or automatically generate translated videos in a broad range of languages."

LLM speech translate (preview). "Convert pre-recorded audio into text in a specified target language." It brings "improved quality, deep contextual understanding, multilingual support, and prompt-tuning capabilities", and shares "the same ultra-fast inference performance as fast transcription".

Language identification. "Helps you identify languages spoken in audio by comparing them against a list of supported languages. Use language identification by itself, with speech-to-text recognition, or with speech translation."

Text-side terminology. Translator's dynamic dictionary and prevent translations on text translation v3; glossary files on synchronous document translation; Custom Translator dictionaries; and adaptive custom translation from 5–10,000 prealigned segment pairs (≤500 chars each) building "a custom bilingual index in minutes".

Synthesis side. Standard or custom voice, with SSML controlling "pitch, pronunciation, speaking rate, volume, and more" — the mechanism for correct rendering of names and terms in the target language.

Speech translation against LLM speech translate

Attribute
Output

Speech-to-speech AND speech-to-text

Text only

Timing

Real time

Pre-recorded only

Status

GA

Preview

Steering

SSML on synthesis

Prompt-tuning

Fits

Live conversation, translated video

Subtitles, recorded material

Deep Dive

Output shape is the first question

The decisive property is whether the requirement needs spoken output.

Speech translation covers both directions: "use this feature for speech-to-speech and speech-to-text translation", generating "high-quality speech-to-speech translation in real time". So a live interpreter experience, a translated announcement, or a bilingual conversation is this service — and only this service, since LLM speech produces text.

LLM speech translate produces "text in a specified target language" from pre-recorded audio. That makes it a subtitling and transcript tool: captions for recorded video, translated meeting notes, an English record of a foreign-language voicemail.

Two eliminations follow immediately, and both appear in scenarios.

Live rules out LLM speech, because both its tasks take pre-recorded audio.

Spoken output rules out LLM speech, because its output is text. If spoken output is needed from a pre-recorded source, the pipeline is LLM speech or transcription for the text, then text to speech for the audio — an assembly, not a single call.

And preview rules out LLM speech under a production-only constraint, in which case fast transcription plus Translator is the fallback.

Designing speech translation

  1. 1

    Determine the output shape

    Spoken → speech translation. Text → either, subject to timing.

Composing language identification

Source language is frequently unknown, and language identification is designed to compose rather than stand alone: it works "by itself, with speech-to-text recognition, or with speech translation".

That gives three usable shapes.

Identify then route. Detect the language first and dispatch to a configured path — useful when different languages need different handling, voices, or downstream teams.

Identify alongside recognition. The transcript carries the language, which is what a multilingual archive needs for indexing and search.

Identify with translation. The translation step handles a source language it was not told about — the natural fit for an inbound channel where callers may speak any of several languages.

The related mechanism is multilingual transcription, which applies locale per phrase and is "enabled when no language/locale is specified or language is set to auto" — with the caution that unsupported locales fall back to "the closest supported locale, which is likely incorrect". So relying on omission is a decision; language identification is the deliberate alternative, and setting the locale explicitly is safest when the language is genuinely known.

Terminology across a translation flow

Names, products, and domain terms are where speech translation visibly fails, and control exists at three points.

At transcription. A custom speech model trained with acoustic, language, and pronunciation data fixes terms that are misheard in the source. This is upstream of translation and worth checking first: a term transcribed wrongly cannot be translated correctly.

At translation. For the text stage, Translator offers a dynamic dictionary for individual terms, prevent translations for spans that must be left untouched — product names and trademarks especially — glossary files on synchronous document translation, and adaptive custom translation, which builds "a custom bilingual index in minutes" from 5–10,000 segment pairs of ≤500 characters. In LLM speech, prompt-tuning plays this role.

At synthesis. SSML controls "pitch, pronunciation, speaking rate, volume", which is how a correctly translated name is correctly said in the target language.

The failure to anticipate: a brand name that survives transcription, gets helpfully translated into the target language, and is then pronounced as a common noun. Each stage has its own control, and fixing the wrong stage leaves the symptom in place.

"Translate the video" needs a shape, not a service

A translated video may need subtitles (text), a dubbed track (speech), or both. Subtitles from recorded material fit LLM speech translate — preview — or transcription plus Translator. A dubbed track needs speech-to-speech translation, which is speech translation, and the scenario framing calls out generating "translated videos in a broad range of languages". Establish the output artefact before choosing.

Assembling a pipeline

Where no single service covers the requirement, the stages are transcription, translation, and synthesis — and assembling them is legitimate, with two caveats.

Errors compound. A mis-transcription becomes a mistranslation becomes a confidently mispronounced output, and each stage's mistake is invisible to the next. Instrument the stages separately, and fix upstream first.

Latency accumulates. For anything live, the sum of three stages is why speech translation exists as an integrated real-time capability — the same argument that makes Voice Live preferable to a hand-built conversational loop.

Assembly is right when the stages are genuinely separate: translate a recorded archive overnight, produce subtitles then optionally a dubbed track, or translate to text for records and separately synthesise for playback. It is the wrong default for a live bilingual conversation.

Worked Examples

Example 1 — a live bilingual conversation. Two speakers need to converse in different languages, hearing each other in their own.

Speech translation, which provides "real-time, multilingual translation of speech" and "speech-to-speech translation in real time". LLM speech translate is excluded twice: its output is text, and it operates on pre-recorded audio. Add language identification — which works "with speech translation" — if either speaker's language is not fixed in advance.

Example 2 — subtitles for recorded training video. Recorded modules need target-language subtitles, with control over domain terminology.

LLM speech translate — "convert pre-recorded audio into text in a specified target language" — with prompt-tuning for terminology, at "the same ultra-fast inference performance as fast transcription". It is preview, so under a production-only constraint use fast transcription plus Translator, applying prevent translations for product names and adaptive custom translation if a translation memory exists.

Example 3 — a dubbed track from recorded audio. The same modules need a spoken target-language track.

An assembly: translate to text — LLM speech translate, or transcription plus Translator — then text to speech for the audio, with SSML controlling pronunciation of names in the target language. LLM speech alone cannot do this, because its output is text. Alternatively, speech translation's speech-to-speech path covers the translated-video scenario directly.

Visual Explanations

Choosing by output and timing:

Loading Diagram...
Figure 1 — Mermaid diagram

Terminology control at each stage:

Loading Diagram...
Figure 2 — Mermaid diagram

Common Mistakes

Expecting spoken output from LLM speech translate. It returns text.

Using LLM speech for live translation. Its tasks take pre-recorded audio.

Relying on LLM speech in production. It is preview.

Forgetting speech translation does both directions. Speech-to-speech and speech-to-text.

Not composing language identification. It works with speech translation.

Fixing terminology at the wrong stage. Misheard, mistranslated, and mispronounced are three problems.

Translating product names. Use prevent translations.

Assembling three stages for a live conversation. Latency is the sum.

Practice Exercises

  1. Which service supports speech-to-speech, and what does the other return?
  2. Give two reasons LLM speech translate cannot serve a live interpreter scenario.
  3. Name the three ways language identification composes.
  4. A brand name is misheard, then translated, then mispronounced. Name the control at each stage.
  5. What is the production-safe fallback for translated subtitles?
▶Answers
  1. Speech translation — "use this feature for speech-to-speech and speech-to-text translation", in real time. LLM speech translate returns text in a specified target language, from pre-recorded audio.
  2. Its output is text, not speech, so there is nothing to hear; and both its tasks operate on pre-recorded audio, so it cannot process a live stream. It is additionally preview.
  3. "By itself, with speech-to-text recognition, or with speech translation" — identify and route, identify alongside recognition so the transcript carries the language, or feed the translation step a source language it was not told.
  4. Misheard → a custom speech model with acoustic, language, and pronunciation data. Mistranslated → prevent translations (or a dynamic dictionary, glossary, or adaptive custom translation) — or prompt-tuning in LLM speech. Mispronounced → SSML pronunciation control on synthesis.
  5. Fast transcription plus Translator, since LLM speech is preview. Apply prevent translations for product names and, if a translation memory exists, adaptive custom translation — 5–10,000 pairs of ≤500 characters, building a bilingual index in minutes.

Summary & Concept Map

Speech translation splits by output shape and timing. Speech translation provides "real-time, multilingual translation of speech" for both speech-to-speech and speech-to-text, making it the only path to spoken output and the right one for live conversation and translated video. LLM speech translate converts pre-recorded audio into text in a target language, with prompt-tuning and fast-transcription-level performance — but it is preview, produces no audio, and cannot stream, so a spoken target from recorded source is an assembly: translate to text, then text to speech with SSML. Language identification composes "by itself, with speech-to-text recognition, or with speech translation" and is the deliberate alternative to multilingual transcription's likely-incorrect closest-locale fallback. And terminology has a control at each stage — custom speech for misheard, Translator's dictionaries and prevent-translations or prompt-tuning for mistranslated, SSML for mispronounced.

Loading Diagram...
Figure 3 — Mermaid diagram
Loading flashcards…

Sources and freshness

Written against current Microsoft Learn documentation for the AI-103 skills measured (16 April 2026), reviewed 2026-08-20. Microsoft Learn controls every changing product contract — availability, preview status, quotas, limits, regional support, naming, and retirement dates all move independently of this lesson. Where a scenario turns on a specific number or a GA/preview boundary, confirm it against the product's own page before relying on it.

All Developing AI Apps and Agents on Azure (AI-103) Study Resources

Related Notes

  • Choose an appropriate method for retrieval and indexing2,778 words
  • Quick Note — Choose an appropriate method for retrieval and indexing888 words
  • Choose an appropriate model for each task, including LLMs, small language models, multimodal models, and Foundry Tools3,097 words
  • Quick Note — Choose an appropriate model for each task, including LLMs, small language models, multimodal models, and Foundry Tools1,041 words
  • Choose appropriate memory, tool, and knowledge integration services for agent solutions2,815 words
  • Quick Note — Choose appropriate memory, tool, and knowledge integration services for agent solutions949 words
  • Choose the appropriate Foundry services for generative tasks, grounding, vector search, agent workflows, or multimodal processing2,733 words
  • Quick Note — Choose the appropriate Foundry services for generative tasks, grounding, vector search, agent workflows, or multimodal processing901 words
  • Apply responsible AI instrumentation, including evaluators, safety evaluations, and explanation tooling2,891 words
  • Configure safety filters, guardrails, risk detection, and content moderation2,795 words
  • Govern agent behavior with oversight modes, constraints, and tool-access controls2,863 words
  • Implement auditing through trace logging, provenance metadata, and approval workflows2,624 words

Ready to study Developing AI Apps and Agents on Azure (AI-103)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Developing AI Apps and Agents on Azure (AI-103)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Developing AI Apps and Agents on Azure (AI-103) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.

Loading Diagram...
Flowchart, top to bottom. Speech translation need connects to Spoken output required?. O connects to SPEECH TRANSLATION<br/>speech-to-speech, real time (Yes). O connects to Live or pre-recorded? (No, text). T connects to SPEECH TRANSLATION<br/>speech-to-text (Live). T connects to LLM SPEECH translate - PREVIEW<br/>text in a target language<br/>prompt-tuning (Pre-recorded). LS connects to Production-only fallback:<br/>fast transcription + Translator. O connects to ASSEMBLE: translate to text,<br/>then text to speech + SSML (Spoken, from pre-recorded).
Loading Diagram...
Flowchart, left to right. Source audio connects to Transcription. S1 connects to Custom speech model:<br/>acoustic + language + pronunciation<br/>fixes MISHEARD terms. S1 connects to Translation. S2 connects to Dynamic dictionary /<br/>prevent translations /<br/>glossary / adaptive custom<br/>OR prompt-tuning. S2 connects to Synthesis. S3 connects to SSML pronunciation:<br/>how the term is SAID. C3 connects to Fixing the wrong stage<br/>leaves the symptom.
Loading Diagram...
Flowchart, top to bottom. Speech translation connects to Choosing. Speech translation] --> CH[Choosing connects to Language identification. Speech translation] --> CH[Choosing connects to Terminology by stage. Speech translation] --> CH[Choosing connects to Assembly. CH connects to Spoken output: speech translation. CH connects to Live: speech translation. CH connects to Pre-recorded text: LLM speech translate. CH connects to LLM speech is PREVIEW; text only. 9 more statements.

Speech translation — retrieval

Card 1 of 6

Front of flashcard 1 of 6

Which service does speech-to-speech?

medium

Speech translation — "real-time, multilingual translation of speech", used "for speech-to-speech and speech-to-text translation", including generating translated videos. LLM speech translate returns text only.

selection

Speech translation — retrieval

Card 1

Front

Which service does speech-to-speech?

Back

Speech translation — "real-time, multilingual translation of speech", used "for speech-to-speech and speech-to-text translation", including generating translated videos. LLM speech translate returns text only.

Card 2

Front

LLM speech translate constraints

Back

"Convert pre-recorded audio into text in a specified target language." So: no spoken output, no streaming, and it is preview. Fallback for production is fast transcription plus Translator.

Card 3

Front

How language identification composes

Back

"Use language identification by itself, with speech-to-text recognition, or with speech translation" — identify and route, identify alongside recognition, or hand translation a source language it was not told.

Card 4

Front

Terminology control by stage

Back

Misheard → custom speech model (acoustic, language, pronunciation data). Mistranslated → prevent translations, dynamic dictionary, glossary, or adaptive custom translation — or prompt-tuning in LLM speech. Mispronounced → SSML.

Card 5

Front

Spoken output from recorded audio

Back

An assembly: translate to text (LLM speech translate, or transcription plus Translator), then text to speech with SSML for pronunciation. LLM speech alone cannot do it — its output is text. Speech translation's speech-to-speech path covers translated video directly.

Card 6

Front

Why not assemble for live conversation

Back

Latency is the sum of transcription, translation, and synthesis, and errors compound invisibly between stages. Speech translation exists as an integrated real-time capability for exactly this reason — the same argument that favours Voice Live over a hand-built loop.

Speech translation — retrieval

Card 1

Front

Which service does speech-to-speech?

Back

Speech translation — "real-time, multilingual translation of speech", used "for speech-to-speech and speech-to-text translation", including generating translated videos. LLM speech translate returns text only.

Card 2

Front

LLM speech translate constraints

Back

"Convert pre-recorded audio into text in a specified target language." So: no spoken output, no streaming, and it is preview. Fallback for production is fast transcription plus Translator.

Card 3

Front

How language identification composes

Back

"Use language identification by itself, with speech-to-text recognition, or with speech translation" — identify and route, identify alongside recognition, or hand translation a source language it was not told.

Card 4

Front

Terminology control by stage

Back

Misheard → custom speech model (acoustic, language, pronunciation data). Mistranslated → prevent translations, dynamic dictionary, glossary, or adaptive custom translation — or prompt-tuning in LLM speech. Mispronounced → SSML.

Card 5

Front

Spoken output from recorded audio

Back

An assembly: translate to text (LLM speech translate, or transcription plus Translator), then text to speech with SSML for pronunciation. LLM speech alone cannot do it — its output is text. Speech translation's speech-to-speech path covers translated video directly.

Card 6

Front

Why not assemble for live conversation

Back

Latency is the sum of transcription, translation, and synthesis, and errors compound invisibly between stages. Speech translation exists as an integrated real-time capability for exactly this reason — the same argument that favours Voice Live over a hand-built loop.