simple-translate icon indicating copy to clipboard operation
simple-translate copied to clipboard

[Pull Request] Improving the interface: show less translation candidates, link to the translation engine and general improvements.

Open someApprentice opened this issue 3 years ago • 2 comments
trafficstars

I'm using the Google Translate extension in my Chromium browser and it was the only reason that keep me from switching to FireFox because it didn't have a similar extension before. Your application will make me be to able to do this, but I missing a few features.

Namely:

  • Show less translation candidates in the translation panel that is on the page. The Google extension only shows top 3 translation candidates for each part of speech in the panel on the page and all translations in the panel at the toolbar. I think it looks pretty neat and clean, and does not clutter the eyes with the tremendous amount of information. Here's how it looks: Screenshot_2022-10-10_22:24:45:022394701 Screenshot_2022-10-10_22:31:07:978449276

  • Button with link to the translation in the translation engine itself. Once again, the Google extension has a button with a link to google.translate.com with a translation of the selected text. You can see how it looks in the screenshots above (MORE »). It is very convenient sometimes to open the translation in a separate window and use all the functions of the translation engine.

  • Parts of speech and translation candidates are highlighted with different font styles. For instance, parts of speech are highlighted in italic and looks dimmer. It helps to see the needed translation at a first glance and not strain your eyes to find it.

  • Maybe it's worth to think about the voice generation..?

I have a pretty good knowledge of the React library and JS itself, and I could and would like to implement these features myself and make a pull request, so before I do that, I would like to hear your opinion.

someApprentice avatar Oct 10 '22 16:10 someApprentice

Any feedback?

(sorry for misclick)

someApprentice avatar Oct 25 '22 04:10 someApprentice

Thank you for your PR! It might be a good idea to omit translation candidates that are too long.

However, I believe the following features are unnecessary for simplicity.

  • "MORE" link is not required.
  • Increasing the font size of the translation result is not suitable for long translations.
  • Candidate colors need not be highlighted.

sienori avatar Feb 18 '23 07:02 sienori