Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

原文译文同时显示 #4380

Open
hzau-kuo-jiang opened this issue Sep 10, 2023 · 1 comment
Open

原文译文同时显示 #4380

hzau-kuo-jiang opened this issue Sep 10, 2023 · 1 comment
Labels
feature request ✨ Feature Request

Comments

@hzau-kuo-jiang
Copy link

需求/建议描述

希望可以实现类似"沉浸式翻译"这款浏览器插件所实现的, 原文译文同时显示的功能.
因为,即便是openai的翻译,翻译的结果也难免有令人产生困惑的地方.
若是可以同时显示原文,就可以极大的方便进行对照理解从而提高效率.

建议的解决方案

最终的呈现形式可以参考"沉浸式翻译"这款浏览器插件.

附加信息

至少对我来说,我愿意为这个额外的功能每月至少支付1美元(jetbrains 付款以美元记 所以,以此为计量单位)

@hzau-kuo-jiang hzau-kuo-jiang added the feature request ✨ Feature Request label Sep 10, 2023
@hzau-kuo-jiang
Copy link
Author

编辑模式下注释,将鼠标悬停到文档末尾,这时弹出注释的翻译.
这是目前已经可以实现的效果,这种效果基本上与我理想中的效果类似.

但还有一种情况与我所期望的理想情况不太一致.(当然需要说明的是,无论如何,目前的情况比只能看原文_英文,好得多,非常感谢作者的努力以及无私)

另一种情况是,
比如说,
我将鼠标悬停到 "flex-direction: column;" 中的 flex-direction 上,确实会显示翻译过的内容,但也只显示翻译后的内容.
而我最开始所提到的 原文译文同时显示 指的是,在这种情况下,当鼠标 悬停到flex-direction上时,弹出的框框中既显示原文又显示译文,从而实现在译文阅读有障碍时,可以非常方便地对照原文进行理解,而不用按如何快捷键或点击鼠标进行 原文译文之间的切换.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request ✨ Feature Request
Projects
None yet
Development

No branches or pull requests

1 participant