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

Polyglot 4 #81

Open
uetchy opened this issue Oct 16, 2020 · 6 comments
Open

Polyglot 4 #81

uetchy opened this issue Oct 16, 2020 · 6 comments
Projects

Comments

@uetchy
Copy link
Owner

uetchy commented Oct 16, 2020

I've been thinking about the future of Polyglot and been intrigued by the idea of bringing the app out of Safari and making it universally available in any app on macOS. Thanks to the power of Accessibility API (NSAccessibility), it might be possible. It would also introduce the major structural changes and require a lot of efforts though.

Wishlist

@uetchy uetchy pinned this issue Oct 16, 2020
@gingerbeardman
Copy link
Collaborator

I use the DeepL app in this way and I have to say I am not a fan of their implementation. So I guess if you can improve on how they do it, go for it!

The main way I use the app is selecting text in Safari, so hopefully that would not go away?

@uetchy
Copy link
Owner Author

uetchy commented Oct 19, 2020

@gingerbeardman Yes, in Polyglot 4, you select any text in any app (incl. Safari and Safari Reader Mode) and hit the global shortcut to grab a translated text. It's similar to PopClip's behaviour.
In that scenario, Instant translation could be an issue because even you select the text in Terminal, there's a floating panel suddenly popped in, which is too distractive.

@gingerbeardman
Copy link
Collaborator

gingerbeardman commented Oct 20, 2020

In the DeepL app you can opt-out (exclude) apps from seeing the shortcut. I'd actually prefer opt-in.

Maybe in Polyglot you can opt-in to instant translation per-app?

https://github.com/Pyroh/Fluor works similarly. You can set invocation behaviour to: global default, opt-in or opt-out.

@uetchy
Copy link
Owner Author

uetchy commented Oct 24, 2020

@gingerbeardman It's great idea to introduce a whitelist to control where instant translation works. Yeah I'd prefer opt-in way too.

I'd wait until macOS Big Sur comes out and see how the new Safari implements its own translation capabilities.

@gingerbeardman
Copy link
Collaborator

I'm still on Mojave. 🙃

@muhasturk
Copy link

should include an option to choose translation provider like google, bing, yandex etc.

@uetchy uetchy added this to To do in Polyglot 4 Jan 6, 2021
@uetchy uetchy moved this from To do to In progress in Polyglot 4 Jan 6, 2021
@uetchy uetchy unpinned this issue Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Polyglot 4
In progress
Development

No branches or pull requests

3 participants