Skip to content

Localize TTS system announcements to the reading language - #1733

Merged
kevmo314 merged 10 commits into
mainfrom
fix/tts-system-localization
Oct 28, 2026
Merged

kevmo314 merged 10 commits into
mainfrom
fix/tts-system-localization

Conversation

@kevmo314

@kevmo314 kevmo314 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Spoken TTS mode/backlog announcements and the chat author prelude currently use the UI's language even when chat is read in another language. An English UI therefore announces English system text during a German or Japanese stream.

Choose the announcement translation from the current reading language, including primary-stream language and regional variants. Mode on/off, alerts-only, and backlog shutdown use that translation and its matching neural/system voice. Use all generated app locales, including the expanded UI translations in #1736. Where no app translation exists, retain the UI translation and match its voice to the text. The chat author prelude (including “said”) uses each message’s channel/TTS language, preserving the viewer name and original message text. Other event-alert strings retain their existing UI-language policy; arbitrary system text remains verbatim. System-engine alert speech now receives its text's locale explicitly instead of relying on the device default.

Validation: the Flutter suite and announcement regressions pass, including every generated app locale, translated mode announcements, primary-stream selection, regional tags, untranslated fallback, backlog shutdown, and existing voice/routing behavior. Targeted Dart analysis and diff checks pass.

Closes #1729.

@kevmo314
kevmo314 merged commit cdeaa7c into main Oct 28, 2026
10 checks passed

This branch was successfully deployed

2 active deployments
ios-testflight — d1d2c86f Deployed Oct 28, 2026 by kevmo314 via ios / ipa #1862
android-internal — d1d2c86f Deployed Oct 28, 2026 by kevmo314 via android / apkaab #1862
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TTS system messages need localization

1 participant