Files
open-webui-ai4me/backend/open_webui
Alvin Tangandgambletan 7aa7bbc390 fix: correct Azure TTS locale extraction for SSML xml:lang (#22443)
The locale for Azure TTS SSML was being extracted with `split("-")[:1]`,
which only takes the first segment (e.g., "en" from "en-US"). The
xml:lang attribute in SSML requires a full locale like "en-US", not just
a language code. This caused Azure TTS to either fail or use incorrect
pronunciation rules.

Changed `[:1]` to `[:2]` to properly extract the locale (e.g., "en-US").

Co-authored-by: gambletan <ethanchang32@gmail.com>
2026-03-08 16:50:25 -05:00
..
2026-03-07 20:14:32 -06:00
2026-03-07 20:22:01 -06:00
2026-03-08 16:41:21 -05:00
2025-08-10 00:02:58 +04:00
2026-02-11 16:24:11 -06:00
2026-02-21 14:19:28 -06:00
2026-03-07 18:18:02 -06:00
2025-04-15 09:55:35 +02:00
2026-03-07 20:05:18 -06:00
2026-03-06 20:12:37 -06:00
2026-02-11 16:24:11 -06:00
2026-02-12 15:29:34 -06:00