Add a Smart "Paste" Button to the Composer After Translation #233
Labels
No labels
bug
contribution welcome
duplicate
enhancement
later
not planned
out of scope
question
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
tom79/Holos-App#233
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I would like to suggest an improvement that could make the integrated translator much more convenient to use.
Would it be possible to add a "Paste" button directly to the message composer (new post, reply, and quote)? After translating a text with the integrated translator, this button would allow users to insert the translated text into the composer immediately, without having to copy it first and then paste it manually.
The button could offer two options:
Paste: inserts the translated text at the current cursor position without modifying the existing content.
Replace: clears the current content of the composer and replaces it entirely with the translated text.
At the moment, users must select the translated text, copy it, return to the composer, and then paste it. This requires several clicks and quickly becomes repetitive for people who frequently translate posts.
Adding these two options would significantly reduce the number of interactions, streamline the writing workflow, and improve the overall user experience, especially when replying to posts, quoting content, or creating a new post after translating text.
This enhancement would be a natural complement to the integrated translator and would encourage its everyday use.
A few concrete use cases would help me see the exact flow you have in mind. Thanks.
Here's a clear and polished English version:
My idea is simple: reduce the number of steps required to publish a translated post.
Current workflow
I write a post in my native language (for example, French) in Hollo or Fedilab.
I tap Translate.
The offline translator opens with:
my original text in the input field;
the translated version displayed below.
I tap Copy to copy the translation to the clipboard.
I return to Hollo or Fedilab.
At this point, the composer still contains the original text. To replace it with the translated version, I currently have to:
select all the existing text;
delete it;
paste the translated text from the clipboard.
Only then can I publish my post.
Suggested improvement
Add a new button, for example "Replace with Clipboard", that performs these three actions automatically:
select all the text in the composer;
clear the existing content;
paste the current clipboard content.
Example
The composer contains:
Hello everyone, I hope you're doing well.
After translating it, the clipboard contains:
Bonjour à tous, j'espère que vous allez bien.
Instead of manually selecting the original text, deleting it, and pasting the translation, I would simply tap "Replace with Clipboard". The original text would be instantly replaced with the translated version.
Benefits
Reduces three actions to a single tap.
Saves time when translating posts.
Eliminates repetitive editing.
Creates a much smoother workflow for users who regularly translate their posts before publishing.
As an optional enhancement, there could also be an "Auto-replace with translation" feature. Once the translation is copied to the clipboard, the app would automatically replace the original text in the composer, making the entire process even faster.
Additional idea
This button could be useful beyond translation.
It could work as a general "Replace with Clipboard" action, allowing users to replace the entire content of the composer with whatever is currently stored in the clipboard.
For example, instead of a translation, the clipboard could contain:
a quote from an article;
an excerpt from a document;
text copied from a web page;
a paragraph from another app;
or any other copied text.
With a single tap, the current draft would be cleared and replaced by the clipboard content.
This would make the feature useful in many situations, not just for translation, while providing a faster and more convenient editing experience.