FilipePS / Traduzir-paginas-web

Translate your page in real time using Google or Yandex
https://addons.mozilla.org/pt-BR/firefox/addon/traduzir-paginas-web/
Mozilla Public License 2.0
4.54k stars 551 forks source link

Could some improvements be made for the original text panel? #228

Open minshifu opened 3 years ago

minshifu commented 3 years ago

Could you kindly refer to this addon (https://addons.mozilla.org/en-US/firefox/addon/lijun-translate/?utm_source=addons.mozilla.org&utm_medium=referral&utm_content=search)? Yours is much better than it on the whole. But I personally think the interface of its original text panel is more user-friendly. When that addon is used, the translated text can be auto-selected and highlighted (sometimes sentence by sentence instead of whole paragraphs for better comparison). Besides, its original text panel is more responsive on mouse-over and will keep showing for a little longer time. When your addon is used, the original text panel is not as responsive and often fail to appear on mouse hover. Could you kindly make some improvements? Thank you and best regards!

Test page is https://www.antaranews.com/berita/2258410/syarief-hasan-pemerintah-perlu-evaluasi-kebijakan-penanganan-pandemi

图片

FilipePS commented 3 years ago

The reason for this request is because the extension instead of showing only the original text of the paragraph, is showing the whole page right?

minshifu commented 3 years ago

The reason for this request is because the extension instead of showing only the original text of the paragraph, is showing the whole page right?

It is one of the reasons. The Original Text Panel features of the other addon I referred to seem to be directly inherited from official Google Translate. I think its strong points include:(1) More responsive on mouseover. When your addon is used, the Original Text Panel only appears when mouse pointer is placed at the end of one paragraph and does not seem to be responsive enough. Not being responsive enough and oftentimes failing to appear on mouseover is the biggest problem for your Original Text Panel. When the other addon is used, the Original Text Panel will always appear no matter where the mouse pointer is placed in one paragraph. Besides,the Translated Text will be auto-selected and highlighted on mouseover.(2) The Original Text Panel of the other addon I referred to seems to keep showing for a little longer time,thus allowing for better comparison between Original Text and Translated Text and other possible manipulation of the Original Text.

So above all, I am hoping your Original Text Panel can be more responsive for each paragraph and keep showing for a little longer time. If other features can also be realized, that'd be better.

Thank you and best regards!