Skip to content

Add English explanations and British TTS for reading assist#18

Open
zhanghanting wants to merge 2 commits intoCapeAga:mainfrom
zhanghanting:codex/english-translation-and-tts
Open

Add English explanations and British TTS for reading assist#18
zhanghanting wants to merge 2 commits intoCapeAga:mainfrom
zhanghanting:codex/english-translation-and-tts

Conversation

@zhanghanting
Copy link
Copy Markdown

Summary

This PR improves the reading-assist experience for English web browsing.

Main additions:

  • English-first word explanations with Chinese fallback
  • British pronunciation / sentence read-aloud support
  • Selection-based word and sentence assist
  • Better tooltip/card stability for text selection
  • Runtime/tab error handling improvements
  • Faster repeated explanations through caching

Why

The original extension is already good at chunking difficult sentences.
This PR focuses on helping users understand English content more naturally while reducing dependence on direct Chinese translation.

Testing

  • npm test
  • npm run build

Notes

This PR mainly extends the reading-assist flow with:

  • English explanation
  • fallback Chinese hint
  • British speech support

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.

1 participant