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

Translate email #10386

Open
ChristophWurst opened this issue Nov 21, 2024 · 3 comments · May be fixed by #10453
Open

Translate email #10386

ChristophWurst opened this issue Nov 21, 2024 · 3 comments · May be fixed by #10453

Comments

@ChristophWurst
Copy link
Member

Is your feature request related to a problem? Please describe.

As a Nextcloud user I want to be able to understand emails sent in languages I don't speak.

Describe the solution you'd like

Once I open a message, add an action Translate that puts the email text into a translation modal. The modal should be the one that is also used in Talk.
I only need to see the translated text in this modal, with the option to copy, without any further actions in mail.

Describe alternatives you've considered

N/a

Additional context

N/a

@GVodyanov
Copy link
Contributor

What should I do about HTML messages? I could possibly use some funky regex and extract the text into the modal, then translate it in there as plain text. Or maybe I could try to reinsert the translations back into the HTML structure and try to display that (either in the modal, or in the original ThreadEnvelope). Or I could just not give the option for them to be translated (what I currently set).

@ChristophWurst
Copy link
Member Author

If it doesn't exist already we can add an API endpoint that gives access to a text-only version of an email. AFAIK that is also the input for thread summaries, so we have that, but possibly not exposed to the frontend.

@ChristophWurst ChristophWurst moved this from 📄 To do to 🏗️ In progress in 💌 📅 👥 Groupware team Dec 10, 2024
@ChristophWurst
Copy link
Member Author

@GVodyanov we should also cover this new feature in the user manual and add a note that it's only available for instances that have translation apps/services. In the admin manual we can mention it too with a pointer to the translation services admin documentation (I hope it exists).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: 🏗️ In progress
Development

Successfully merging a pull request may close this issue.

3 participants