translate-tools / linguist

Translate web pages, highlighted text, Netflix subtitles, private messages, speak the translated text, and save important translations to your personal dictionary to learn words even offline
https://linguister.io
BSD 3-Clause "New" or "Revised" License
704 stars 25 forks source link

I need a multi-touch option for touch environments. #511

Open Angsimosaurus opened 1 month ago

Angsimosaurus commented 1 month ago

All the features work great on PC, but trying them out on Android felt like a lengthy process: 'hamburger menu -> Linguist -> Translate page & auto-translate current site'. It would be nice to have an option for touch environments, such as displaying the translation options with a three-finger tap or translating the current page directly.

vitonsky commented 1 month ago

It looks as duplicate for #357

Please explain your idea with three-finger tap. How it would may work

Angsimosaurus commented 1 month ago

It looks as duplicate for #357

Please explain your idea with three-finger tap. How it would may work

For example, touching the screen with three fingers simultaneously could bring up the pop-up that usually appears when clicking the extension icon, or maybe even directly translate the current webpage.

In the case of the 'Translate Web Pages' extension, when you touch the screen with three fingers, a pop-up appears asking if you want to translate the current webpage. The 'Immersive translate' extension, on the other hand, has a feature where it translates the webpage when you touch it with three fingers.

vitonsky commented 1 month ago

@Angsimosaurus sounds absolutely disgusting for me as for user, since this behaviour will affect on my interaction with site, and may destroy my experience in case site have some features with three finger gestures.

This problem is common for low quality translators like Immersive translate who interfere in page content too much

Angsimosaurus commented 1 month ago

@Angsimosaurus sounds absolutely disgusting for me as for user, since this behaviour will affect on my interaction with site, and may destroy my experience in case site have some features with three finger gestures.

This problem is common for low quality translators like Immersive translate who interfere in page content too much

Do you also find the popup approach like TWP undesirable?

I think that since this feature can be toggled on and off by those who need it, it allows only those who need it to use it and doesn't interfere with the experience. This is also based on my own experience where using Immersive Translate didn't hinder my web browsing.

vitonsky commented 1 month ago

@Angsimosaurus No, i think that's fine. I see your concern and totally agreed that current behaviour must be improved. Currently i prefer the solution with a float panel on top/down of screen that will have most used controls. This solution looks most minimal invasive and suitable for most users. Is this approach used in TWP too, right?

But i agree that feature proposed by you, may be opt-in feature for users who used to this way. The feature would be disabled by default, and can be enabled manually in settings if user sure it will works fine for their use cases.

Let's talk about details. I have next questions to you, to understand the ideal implementation.

Angsimosaurus commented 1 month ago

@Angsimosaurus No, i think that's fine. I see your concern and totally agreed that current behaviour must be improved. Currently i prefer the solution with a float panel on top/down of screen that will have most used controls. This solution looks most minimal invasive and suitable for most users. Is this approach used in TWP too, right?

But i agree that feature proposed by you, may be opt-in feature for users who used to this way. The feature would be disabled by default, and can be enabled manually in settings if user sure it will works fine for their use cases.

Let's talk about details. I have next questions to you, to understand the ideal implementation.

  • What exactly features you need on mobile device to be available in quick access?
  • What features could be placed in floating popup at bottom of viewport?
  • What exactly should happens when user touch the screen with 3 fingers? You can also record and demonstrate here current behaviour in other extensions, that is close to ideal by your opinion.
  1. A simple and quick way to translate the current webpage, or automatically translating the domain without multiple taps is required for mobile devices.
  2. The popup menu should include an option to choose whether you want to auto-translate the current domain along with the webpage translation functionality.
  3. TWP allows you to display an elliptical popup at the top or bottom (position changeable) by touching three fingers simultaneously, just like in the Chrome browser for mobile. Pressing the button on the far right instantly translates the current page, and pressing the gear button gives options such as 'Always translate this language', 'Don't translate this language', 'Always translate this domain' and 'Don't translate this domain'.

image