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.42k stars 537 forks source link

[Bug] Bug when using "Deepl" service to translate selected text to "Simplified Chinese" (zh-cn) #852

Open sduhjh opened 2 months ago

sduhjh commented 2 months ago

Steps To Reproduce

1.Set "Translate selected text into this target language" in "Settings - Language" to "Simplified Chinese". 2.Set "Text Translation Service" to "Deepl". 3.Open any English web page, select a piece of text and click the pop-up icon to translate it.

Expected Result

The selected text is translated into Simplified Chinese in the popup box on the current page.

Actual Result

When I select a piece of text and click on the pop-up icon, a new page (deepl.com) opens automatically, and the selected text is not translated. This means that the selected text is not translated on the current page.

Screenshots or Videos

QQ截图20240709181000 QQ截图20240709181049 微信截图_20240709181440 QQ截图20240709181533

Additional Context

Two key points where bugs occur:

  1. using Deepl service to translate selected text
  2. Translate to "Simplified Chinese". By the way, the bug does not appear when using Deepl to translate to "Traditional Chinese".

Operating System

Windows

Operating System Version

Windows 11 Professional 21H2

Web Browser

Microsoft Edge

Browser Version

126.0.2592.87 (official version) (64-bit)

Extension Version

10.0.1.0

What are you doing?