分页: 1 / 1

Feature Request: Shortcut for Toggling Between Translated and Original Page

发表于 : 2024年 12月 13日 16:40
Blade
Hello,

I appreciate the ability to assign custom shortcuts for commands in the browser, such as the "Translate" command. However, I find the current implementation somewhat limited. While the "Translate" command pops up the translation window, I often need a quicker way to toggle between the translated version of a page and its original language without manually interacting with the UI each time.

Proposed Command: Switch Between the Translated and the Original Page

It would be incredibly useful to have a command that allows users to alternate seamlessly between the translated version of the page and the original language. For example, we could assign a shortcut like this:

`ALT+X` = "Switch Between the Translated and the Original Page"

How It Would Work:
1. **Initial State**: The page is displayed in its original language (e.g., Chinese).
2. **Press ALT+X**: The page is translated to English.
3. **Press ALT+X again**: The page is restored to its original language (Chinese).
4. **Press ALT+X once more**: The page is translated back to English.
5. **Repeat the cycle as needed**.

This functionality would provide a quick, efficient way to toggle between languages without requiring multiple steps or additional mouse clicks.

Please consider adding this functionality to the browser. It would be a game-changer for users who frequently rely on translations.

ChatGPT Translated version

你好,

我非常感谢浏览器提供为各种命令分配自定义快捷键的功能,例如“翻译”命令。然而,我发现目前的实现还有些局限。“翻译”命令虽然可以弹出翻译窗口,但我经常需要更快捷的方式,在页面的翻译版本和原始语言之间切换,而不需要每次手动与用户界面交互。
提议的命令:在翻译页面和原始页面之间切换

如果能有一个命令,让用户可以在页面的翻译版本和原始语言之间无缝切换,那将非常有用。例如,我们可以分配以下快捷键:

ALT+X = “在翻译页面和原始页面之间切换”
工作方式:

初始状态:页面以其原始语言显示(例如中文)。
按下 ALT+X:页面翻译为英文。
再次按下 ALT+X:页面恢复为原始语言(中文)。
再次按下 ALT+X:页面重新翻译为英文。
根据需要重复此循环。

此功能可以提供一种快速、高效的方法,在不同语言之间切换,而无需多个步骤或额外的鼠标点击操作。

请考虑在浏览器中添加此功能。这将成为经常依赖翻译的用户的一个革命性功能。

谢谢!

Re: Feature Request: Shortcut for Toggling Between Translated and Original Page

发表于 : 2024年 12月 13日 18:42
catsxp
Translation is done by replacing characters
After translation, it cannot be restored
Only refresh the page and reload

Re: Feature Request: Shortcut for Toggling Between Translated and Original Page

发表于 : 2024年 12月 13日 23:56
Blade
I think you misunderstood me

All i want to do is switch between these two buttons with single keyboard shortcut instead of clicking via mouse.

图片