From 7dae304ebb1a1c8baf53170d65583d885868aed4 Mon Sep 17 00:00:00 2001 From: Pete Mo <175202887+cabbage-ice-cream@users.noreply.github.com> Date: Wed, 22 Jul 2026 13:44:52 +0100 Subject: [PATCH] Use "Mandarin" not "Chinese Mandarin" in formatting docs Follow-up agreed in PR #289 review: match the canonical "Mandarin" (cmn) naming from the languages page. Renames the three occurrences in formatting.mdx (output locales, disfluency and smart formatting language lists) and re-alphabetizes the renamed list entries. Adds a terminology entry recording "Mandarin" as canonical. Co-Authored-By: Claude Fable 5 --- .CLAUDE/context/terminology.md | 1 + docs/speech-to-text/formatting.mdx | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.CLAUDE/context/terminology.md b/.CLAUDE/context/terminology.md index 78b8a970..81c1c931 100644 --- a/.CLAUDE/context/terminology.md +++ b/.CLAUDE/context/terminology.md @@ -89,6 +89,7 @@ Speechmatics does not sell a "voice agent." A voice agent is a full conversation | SDK | sdk | All-caps. | | job | Job | Lowercase common noun. | | transcript | Transcript | Lowercase unless starting a sentence. | +| Mandarin | Chinese Mandarin, Mandarin Chinese | Language name, matching the canonical row on the languages page (`cmn`). Locale names are "Simplified Mandarin" (`cmn-Hans`) and "Traditional Mandarin" (`cmn-Hant`). | --- diff --git a/docs/speech-to-text/formatting.mdx b/docs/speech-to-text/formatting.mdx index 7bd982bd..59bea9e1 100644 --- a/docs/speech-to-text/formatting.mdx +++ b/docs/speech-to-text/formatting.mdx @@ -37,7 +37,7 @@ Available English locales: - US English (`en-US`) - Australian English (`en-AU`) -Available Chinese Mandarin locales: +Available Mandarin locales: - Simplified Mandarin (`cmn-Hans`, default) - Traditional Mandarin (`cmn-Hant`) @@ -152,7 +152,6 @@ uum`} Disfluency tagging and removal are available for the following languages. Each language has its own set of hesitation sounds; the expandable list at the start of this section covers English. - Arabic (`ar`) -- Chinese Mandarin (`cmn`) - Danish (`da`) - Dutch (`nl`) - English (`en`) @@ -165,6 +164,7 @@ Disfluency tagging and removal are available for the following languages. Each l - Hungarian (`hu`) - Italian (`it`) - Japanese (`ja`) +- Mandarin (`cmn`) - Norwegian (`no`) - Polish (`pl`) - Portuguese (`pt`) @@ -384,7 +384,6 @@ Examples: Smart formatting has had dedicated work for consistent results in these languages: - Cantonese -- Chinese Mandarin (Simplified and Traditional) - Dutch - English - French @@ -392,6 +391,7 @@ Smart formatting has had dedicated work for consistent results in these language - Hindi - Italian - Japanese +- Mandarin (Simplified and Traditional) - Mandarin & English (bilingual) - Mandarin Malay Tamil & English (multilingual) - Norwegian