Walkthrough
-
The iOS transcriber now tries the user’s preferred languages in order, followed by the app locale. Preparation continues only when a locale is unsupported. Tests and documentation cover the updated behavior.
Changes: iOS Dictation Locale Selection
Layer / File(s) Summary Collect and pass preferred locales
apps/mobile/src/native/voiceTranscription.ios.tsThe transcriber reads Apple’s preferred languages, appends the app locale, removes duplicates, and passes the ordered list to preparation. Availability checks use the first locale. Try locales in order
apps/mobile/src/native/voiceTranscription.ios.ts,apps/mobile/src/native/voiceTranscription.ios.test.ts,docs/user/composer.mdPreparation tries each locale and continues only after an unsupported-localeerror. Tests cover locale ordering, fallback, and stopping on cancellation or other errors. The documentation describes iPhone language selection.Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix
Possibly related PRs
- pingdotgg/t3code#25808: Both changes try iPhone dictation languages in order and fall back when a locale is unsupported.
- pingdotgg/t3code#30171: Both changes use iPhone preferred languages to address app-locale mismatch in dictation.
- pingdotgg/t3code#22380: Both changes update iPhone dictation language selection.
Suggested labels:
size:MSuggested reviewers:
pixpmusic
Merge Risk: External image Minimal · up to e2c1a
-
Preferred-language fallback remains reachable, and no merge-blocking issue is established. Normal checks can proceed.
Pre-merge checks: Passed 4
-
Check name Status Explanation Title check Passed The title clearly describes the main change to iPhone dictation. Linked Issues check Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request. Description check Passed The description covers the problem, change, scope, approval, and verification. It identifies the untested physical-device check and names the model and harness.
Finishing Touches
-
Generate docstrings
-
- Commit to this branch
- Create a new PR
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts