Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

paragraph-level translations and multilingual tts #98

Open
elias-sundqvist opened this issue Oct 25, 2023 · 3 comments
Open

paragraph-level translations and multilingual tts #98

elias-sundqvist opened this issue Oct 25, 2023 · 3 comments
Assignees
Labels
Feature request Feature that is not implemented Open to collaboration Won't work on it personally but I'm open to accept PR contributions for this feature postponed Not in consideration for the moment

Comments

@elias-sundqvist
Copy link
Contributor

This is actually multiple feature requests, but they are related.

I have some キノの旅 epubs that I would like to read. I'm not very good at Japanese, but it would be an opportunity to learn.

Ideally, instead of translating the entire text into a new language (and replacing the original content), I would like to retain the original text, and see the translation below each paragraph. I would also like to be able to listen to this like an audiobook, where I have a Japanese TTS voice for the Japanese text and an English TTS voice for the translated text.

Also, with the current epub import, my entire epub is interpreted as one long chapter, so it would be good if the translations could be loaded dynamically instead of processing everything in the beginning. Because that takes forever.

tldr;

  1. Translate one paragraph at a time, on demand instead of everything at once
  2. Show translation below each paragraph, instead of replacing
  3. Use one TTS voice for the original text and another for the translated text

I would be willing to help out with this, but I could use some assistance with parts, since I'm not used to developing UI things for android.

What are your thoughts about this @nanihadesuka? Does it sound reasonable, or is it out-of-scope for your goals with this app?

@elias-sundqvist
Copy link
Contributor Author

It could perhaps look something like this
The translation (yellow) is only visible when the paragraph is focused.
image

@nanihadesuka
Copy link
Owner

The idea looks good but the feature is complex to add as it interacts with all the other parts of the reader features.

I was planning on moving the reader UI to jetpack compose to deal with the ui side more easily (will help implement this new feature more easily too)

I'm willing to implement what you ask as is useful but I will probably start in 2 months from now.

If you want you can try to see how it works and try to add it.

@nanihadesuka nanihadesuka added the Feature request Feature that is not implemented label Oct 25, 2023
@nanihadesuka
Copy link
Owner

Will not all in the foreseeable future.

@nanihadesuka nanihadesuka removed their assignment Jul 10, 2024
@nanihadesuka nanihadesuka added postponed Not in consideration for the moment Open to collaboration Won't work on it personally but I'm open to accept PR contributions for this feature labels Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature request Feature that is not implemented Open to collaboration Won't work on it personally but I'm open to accept PR contributions for this feature postponed Not in consideration for the moment
Projects
None yet
Development

No branches or pull requests

2 participants