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

Global shortcut for translating last entry at clipboard #415

Open
jeblad opened this issue Dec 8, 2024 · 2 comments
Open

Global shortcut for translating last entry at clipboard #415

jeblad opened this issue Dec 8, 2024 · 2 comments

Comments

@jeblad
Copy link

jeblad commented Dec 8, 2024

The following assumes that translations are done repeatedly, and that most of the work is done in another application. For example that a larger document is translated, or that multiple messages are translated for an UI.

It would be nice to be able to do a "cut to clipboard" ([Ctrl][x]), then a "translate last at clipboard" ([Ctrl][t] perhaps), and then a "paste from clipboard" ([Ctrl][v]) – or perhaps do it all with a single [Shft][Ctrl][t]. The first variant would always work, but the later would imply changes to other programs and libraries. Those two methods would assume the translation parameters to be stable.

[Ctrl][t] is a keyboard shortcut commonly used in web browsers to open a new browser tab.

An other user story would be like this: the user selects the text, the app pops up in front with the rest of the screen dimmed, and with the source field filled with the selected text. The user clicks “Translate”, the translated text shows up, and then the user clicks a new button “Replace”. The app then goes away and the selected text is replaced with the translated text. That would create a pause before the text is sent to the external service, which would be a GoodThing™.

Note that the previous are only two clicks more efficient than today, copying into and pasting out of clipboard. Most speed up would be achieved if it can be integrated with keyboard shortcuts.

I wonder whether the app should be in front during the previous user story so the user sees the translation in the app, but that could be confusing.

Perhaps there are other ways to do it that is efficient.

@linuxtopia
Copy link

Crow Translate has that global shortcut ability but yeah Dialect also would has that shortcut to translate feature.

@Cherkah
Copy link

Cherkah commented Jan 21, 2025

+1 for this shortcut

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

No branches or pull requests

3 participants