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

Is it possible to add automatic translation #33

Open
Mustafa-Agha opened this issue Aug 14, 2023 · 2 comments
Open

Is it possible to add automatic translation #33

Mustafa-Agha opened this issue Aug 14, 2023 · 2 comments

Comments

@Mustafa-Agha
Copy link

When I click ctr+shitft+t (which is the shortcut keys I added for google translate option)

A pop-up window appear which I have to click it again so the transaltion occurs, This is annoying and keep disppearing for a while I have to translate it a couple of time in order to show the modal again, so I can click.

is it possible when I click the short-cut keys the translated text is updated automaticlly instead of clicking the modal.

There is an option called "Translate result settings" >> "Show Type" (modal/output)

I thought if choosing output it will change right away, but nothing happens, I have to select modal so I can click it, so the text can change.

@Kerwin1202
Copy link
Owner

I think you want to translate the text, to replace it, not to read it. It can be considered.

BTW,There is indeed no problem with the current mode, but when I first designed it, I wanted to translate and display multiple results from multiple platforms at once, like this. So in such cases, the replacement will not know which one to replace.

image

@Mustafa-Agha
Copy link
Author

Mustafa-Agha commented Aug 16, 2023

@Kerwin1202
You added an option for a shortcut. For example, if I want to translate using Google Translate

I chose alt+shift+t

In this case, you can replace the text automatically, instead of showing a pop-up confirming the text to be changed through clicking the pop-up.

This will be a good approach I think, because now I can select all similar sentenses or multipler different sentenses and just click the shortcut I added alt+shift+t then all of these will be changed automaticlly instead of changing them one by one.

It can be usefull like this extension for vscode https://marketplace.visualstudio.com/items?itemName=funkyremi.vscode-google-translate

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

2 participants