Skip to content

fix: accent preference wasn't applied when playing translated English text#916

Merged
tisfeng merged 2 commits intodevfrom
fix/pronunciation-playback
Jun 17, 2025
Merged

fix: accent preference wasn't applied when playing translated English text#916
tisfeng merged 2 commits intodevfrom
fix/pronunciation-playback

Conversation

@tisfeng
Copy link
Copy Markdown
Owner

@tisfeng tisfeng commented Jun 17, 2025

Here's a fix for the issue where your chosen accent preference wasn't applied when playing translated English text.

Previously, when playing translated text in the results view, if the target language was English, the system would ignore your British/American accent preference selected in settings. This resulted in American English being played by default.

This update ensures that in EZWordResultView.m, when playing text translated into English, your stored accent setting ("us" or "uk") is read and correctly passed as an accent parameter to the audio playback service.

This resolves the problem you reported in GitHub issue #897 (comment) allowing your British/American pronunciation choice to take effect when playing translated results.

… applied when playing translated English text.

Previously, when playing translated text in the results view, if the target language was English, the system would ignore your British/American accent preference selected in settings. This resulted in American English being played by default.

This update ensures that in EZWordResultView.m, when playing text translated into English, your stored accent setting ("us" or "uk") is read and correctly passed as an accent parameter to the audio playback service.

This resolves the problem you reported in GitHub issue #897, allowing your British/American pronunciation choice to take effect when playing translated results.
@tisfeng
Copy link
Copy Markdown
Owner Author

tisfeng commented Jun 17, 2025

This PR is submitted by Google jules

Just a test, but looks good 🙂

@tisfeng tisfeng merged commit c9e3549 into dev Jun 17, 2025
4 checks passed
@tisfeng tisfeng deleted the fix/pronunciation-playback branch June 17, 2025 14:28
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.

2 participants