Git Product home page Git Product logo

edgetranslate's Introduction

Edge Translate

996.icu

License License

Version Build Status codebeat badge FOSSA Status

Microsoft Edge Add-ons Microsoft Edge Add-ons Chrome Web Store Chrome Web Store Mozilla Add-on Mozilla Add-on

View this page in other languages:

Demo

demo_en

Downloads

Microsoft Edge Add-ons / Chrome Web Store / Firefox Add-ons / QQ Browser Web Store / 360 Browser Web Store

Attention: The version in Firefox Add-ons does not support page translate anymore. If you need page translate, please refer to here.

Manually Install

Firstly you need to download the extension package for your browser (Chrome and QQ Browser use the same package) from GitHub Releases.

It is always recommended to download the latest version.

Chrome

  • Extract the .zip package to somewhere on your disk.

  • Navigate to: chrome://extensions.

  • Enable Developer mode. It should be in the upper right corner of the page.

  • Click Load unpacked in the upper left corner.

  • Navigate to the directory of the extracted package.

QQ Browser

  • Extract the .zip package to somewhere on your disk.

  • Navigate to: qqbrowser://extensions/manage.

  • Enable Developer mode. It should be in the upper right corner of the page.

  • Click Load unpacked in the upper left corner.

  • Navigate to the directory of the extracted package.

Firefox

  • Installation will start automatically after the .xapi package is downloaded through Firefox browser.

360 Browser

  • Right click on the package file and choose "Use 360 Browser to open", then it will be installed automatically.

Build It By Yourself

To build the extension, you need to have Node.js and yarn installed.

Clone the repository:

git clone https://github.com/EdgeTranslate/EdgeTranslate.git

Install dependencies:

yarn

Build packages for Chrome and Firefox:

yarn build

After building finished, you will get the unpacked extension under ./packages/EdgeTranslate/build/chrome/ and ./packages/EdgeTranslate/build/firefox/.

Load Unpacked Extension In Your Browser

Chrome

  • Navigate to: chrome://extensions.

  • Enable Developer mode. It should be in the upper right corner of the page.

  • Click Load unpacked in the upper left corner.

  • Navigate to the repository you just cloned, select build/chrome.

  • Now you can try this extension in Chrome.

Firefox

  • Navigate to: about:debugging.

  • Check the Enable add-on debugging box if it's not checked.

  • Click Load Temporary Add-on.

  • Navigate to the repository you just cloned, open build/firefox, select any file in this directory.

  • Now you can try this extension in Firefox.

More Information

Wiki

Contact Us

E-mails: nickyc975, Mark Fenng

Telegram channel: Edge Translate Channel

QQ group: Edge Translate QQ Group

Join the channel or group to get Edge Translate beta packages before releases.

License

MIT AND NPL

Contributors


Nicky Chen

💻 🔣 📖 🤔 🚧

Yun Feng

💻 🎨 🧑‍🏫 🤔 🚧

Zia

💻 🎨 🤔

Yang, Bo

💻 🤔

Dahan Gong

💻 🔌

Viktor

🌍

derlans

💻

Isildur46

💻

ykyuki

🌍

Khan-San

🌍

ArielAxionL

📖

The_BadUser

🌍

knlyknly

💻

fukang wang

📖

Help Localization

If you want to help localize Edge Translate, please read the following guide.

Localization

Sponsor

It took us much time and energy to develop this project. If it truly helped you in some way, you could reward us with cans of Coke to support us to keep improving it: PayPal.

But, this is completely voluntary. Sponsoring won't bring any special treatment and you can still use Edge Translate freely without sponsoring. Do it according to your capability!

edgetranslate's People

Contributors

294889365 avatar atry avatar axionl avatar dependabot[bot] avatar derlans avatar fossabot avatar gao20050101 avatar gdh1995 avatar isildur46 avatar khan-san avatar knlyknly avatar nickyc975 avatar tboevil avatar vanja-san avatar viktoron avatar wfk007 avatar ykyuki avatar yunfeng0817 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

edgetranslate's Issues

翻译文本添加英文

功能描述
希望侧边栏在翻译一段话的时候显示原文本,还有朗读希望能添加暂停功能(再次点击取消朗读之类的)。
你想要什么样的功能 /改进?

使用场景

你是在什么场景下需要用到这个功能 /改进?

你的解决方案

你有没有想到什么解决方案?

替代方案

在没有这个功能的情况下,你有没有找到什么临时的解决方案?

其他信息

如果你还需要补充什么信息,请写在这里

侧边能不能放在左边,或者悬浮式的,我很不习惯右边这个方式,你们的软件速度很快,很不错,界面也很好,就是右侧边很难受

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

页面翻译功能不起作用

for the google page translator, nothing appears;
for the youdao page translator, only a toolbar appears and nothing on the page is actually translated.

与Dark Reader夜间模式不兼容

描述问题

启动夜间模式阅读文章,选中单词翻译,出现的翻页界面背景为白色,翻译界面的内容为淡黄色,且无法看清除。

出现问题的网址

所有

复现步骤

启动夜间模式阅读文章,选中单词翻译,出现的翻页界面背景为白色,翻译界面的内容为淡黄色,且无法看清除。

问题截图

使用环境

_浏览器类型
Chromium
浏览器版本 [e.g. 22]
Chromium 72.0.3626.121
插件版本 [e.g. 1.2.0]
1.6.1
其他信息

如果还有其他相关信息,请补充到这里

对 html 标签没有进行过滤

描述问题
对html标签没有进行过滤或者处理, 导致翻译结果会被html标签影响

复现步骤

  • 翻译<strong><i>这段话, 结果会变斜体+粗体
  • (翻译结果语言非中文时)翻译<input type='button' onclick="console.log(1)" value="显示警告框" />这个标签, 结果中会出现按钮, 点击可以在控制台输出1

等等

使用环境
chrome beta 80.0.3987.16 (64 位)

插件版本 1.7.0

弹窗

描述问题

请在此详细描述你遇到的问题,例如问题的表现形式,对你造成了那些影响等

出现问题的网址

如果问题仅在某些特定的网页上出现,请在此给出网页链接

复现步骤

请在此给出问题的复现步骤

问题截图

可以的话,最好再给出出现问题时的截图(注意隐藏你的个人信息)

使用环境

在这里给出你的使用环境,例如:

浏览器类型 [e.g. chrome, firefox]

浏览器版本 [e.g. 22]

插件版本 [e.g. 1.2.0]

其他信息

如果还有其他相关信息,请补充到这里

翻译漏洞

描述问题

对以下句子进行侧边翻译(谷歌引擎)时,字体颜色会变绿:
If it shows Correct result, you're ready to move on!
在谷歌翻译官方网站上不会出现这个问题。是否没有将html语言视为字符串?

出现问题的网址

如果问题仅在某些特定的网页上出现,请在此给出网页链接

复现步骤

在kaggle.com/learn中,使用notebook模式打开Data Visualization课程第一课“Hello,Seaborn”时,选中对应语句,右键“翻译'if...'”得到。

问题截图

可以的话,最好再给出出现问题时的截图(注意隐藏你的个人信息)

使用环境

Chrome

其他信息

如果还有其他相关信息,请补充到这里

布局及字体大小问题

描述问题

不知道字体为什么这么大,缩进有些大,布局有些显示不完,滚动条略粗,希望改进
插件很棒,支持
image

出现问题的网址

*

问题截图

使用环境

Chrome
Microsoft Edge(Chroimum版)

Windows 10

插件版本1.6.0

其他信息

网页布局缩放100%
分辨率1920x1080
系统显示缩放150%

侧边栏直接适配网页,而非浮窗

功能描述
侧边栏不影响浏览时该插件最主要特色。
但是遇到全宽页面或者pdf文件时,浮动侧边栏遮挡文字对体验影响很大。

使用场景

_网页浏览

你的解决方案

frame直接插入网页?
或者参考有无类似插件?
https://www.ghacks.net/2010/07/22/enable-side-tabs-in-google-chrome/

替代方案

如果不能解决,让浮窗有一个左侧/右侧开关。这样阅读右侧的时候,我可以把浮窗放到左侧,阅读左侧的话,可以把浮窗放到右侧。

其他信息

本地pdf文件划线翻译后 空格/上下左右 翻页控制失效

描述问题

本地pdf文件划线翻译后, 空格/上下左右 翻页控制失效, 需要切换到其他的浏览器标签后再切回来这些控制按键才能继续使用.

出现问题的网址

本地pdf文件

复现步骤

打开本地的pdf文件(可复制文字的那种pdf), 使用鼠标单选文字, 翻译选择的文字, 然后上述的控制按键就不生效了.

使用环境

linux, Ubuntu 18.04

Chrome 78

1.6.4

其他信息

这个插件对我阅读英文文献起到了极大地帮助, 感谢开发者付出的的辛勤劳动!

Page Translate not working

Using FireFox70.0a1 (2019-07-23) (64-bit)
The Google Page Translate Link Does not work.

*描述问题

请在此详细描述你遇到的问题,例如问题的表现形式,对你造成了那些影响等

出现问题的网址

如果问题仅在某些特定的网页上出现,请在此给出网页链接

复现步骤

请在此给出问题的复现步骤

问题截图

可以的话,最好再给出出现问题时的截图(注意隐藏你的个人信息)

使用环境

在这里给出你的使用环境,例如:

浏览器类型 [e.g. chrome, firefox]

浏览器版本 [e.g. 22]

插件版本 [e.g. 1.2.0]

其他信息

如果还有其他相关信息,请补充到这里

建议翻译的目标语言也自动检测

功能描述

自动检测目标语言

使用场景

我想吧中文翻译为英文时,还需要去点击切换,而切换功能隐藏太深,需要多次点击鼠标

你的解决方案

建议翻译的目标语言也自动检测,例如选择的是英文,默认翻译为中文,选择的文本时中文,默认自动翻译为英文。不许要人为的选择目标语言。

firefox下github页面无法翻译

描述问题

firefox下尝试翻译github上的文本侧边面板空白

出现问题的网址

https://github.com

复现步骤

随便选择一个词翻译

问题截图

image

使用环境

Firefox nightly 67.0a1 (2019-03-06) (64-bit)
macOS 10.12.6 (16G29)
插件版本:1.4.1

按键功能设置

功能描述

希望能提供插件按键功能的设置,如开关划词、直接启动谷歌翻译等功能,而不是单纯的翻译窗口(或者,翻译窗口中添加这些快速功能的开关)

使用场景

翻译窗口使用偏少,而网页翻译菜单又收缩起来,不方便选。
另外,我在手机yandex上使用时,浏览器没有右键菜单,无法调用网页翻译功能。

你的解决方案

同上

替代方案

其他信息

在清空浏览器缓存后会出现 Network error 的问题

描述问题

选中某些文本,右键翻译,侧面板出现,显示

Network error! Please check your network connection.

Error code: 403

重新安装插件没能解决

复现步骤

在 Chrome 下(Firefox下没能复现),尝试翻译以下文本:

  • Let‘
  • &
  • 中文english

使用环境

Chrome 75.0.3770.100
Plugin Version 1.6.1

添加生词本和捐助接口

1.建议能够在插件内新增生词本功能,收集生词
2.建议对于长句就直接显示翻译后的内容,不要在显示一一遍选中的内容
3.建议增加OCR扫描翻译的功能

自动发音和翻译

希望可以在设置中增加自动发音的开关 可以自动播放单词读音

希望单词定义中的翻译可以有中文版本的 便于初学者理解

您开发的这个插件对我帮助很大 以上是一点点小小的建议 谢谢

The icon is hidden automatically when clicking "翻译"

描述问题

无论是在pdf中,还是在网页中,点击图标,输入文字之后,点击翻译,虽然会出现翻译的结果,但是图标会自己隐藏起来

出现问题的网址

所有

复现步骤

已给出

问题截图

可以的话,最好再给出出现问题时的截图(注意隐藏你的个人信息)

使用环境

chrome

版本 69.0.3497.92(正式版本) (64 位)

1.3.0

其他信息

如果还有其他相关信息,请补充到这里

please provide pinyins

描述问题

请在此详细描述你遇到的问题,例如问题的表现形式,对你造成了那些影响等

出现问题的网址

如果问题仅在某些特定的网页上出现,请在此给出网页链接

复现步骤

请在此给出问题的复现步骤

问题截图

可以的话,最好再给出出现问题时的截图(注意隐藏你的个人信息)

使用环境

在这里给出你的使用环境,例如:

浏览器类型 [e.g. chrome, firefox]

浏览器版本 [e.g. 22]

插件版本 [e.g. 1.2.0]

其他信息

如果还有其他相关信息,请补充到这里

希望在设置里增加一个点击侧边翻译图标就直接进行页面翻译的设置。

功能描述

在设置里增加一个点击侧边翻译图标就直接进行页面翻译的设置。可以设置默认翻译引擎。

使用场景

浏览外文页面时

你的解决方案

右键选择侧边翻译,点击使用谷歌翻译此页。多了几个步骤有点麻烦。

替代方案

没有

其他信息

如果你还需要补充什么信息,请写在这里

增加微软的翻译引擎

功能描述

能够使用微软提供的bing翻译作为翻译引擎翻译页面信息

使用场景

在google翻译无法使用的情况下作为一个替代,有道的翻译质量还是堪忧

提示google封锁IP问题

描述问题

翻译时,提示:
由于您的请求过于频繁,Google已将您的IP暂时封锁,请等待半小时后重试!

出现问题的网址

所有

复现步骤

翻译时出现

使用环境

chrome73
插件版本1.6.0

其他信息

AutoTranslation of Dutch

I find that this extension doesn't recognise Dutch automatically and I have to tell it to translate the page. It works well for auto-translating German, French and Spanish to English though :)

网页翻译的选项没有了

1.7.0版本网页翻译的选项没有了,2019-12-28更新的
目前只有复制粘贴翻译、互译模式,原来的google和网易翻译选项消失了
另外之前使用的时候google翻译不一定能显示,有的时候网易又不能显示

google翻译此页,选项框空白

1.6.3版本出现使用鼠标右键选择google翻译此页的时候,可以翻译,但是页面顶部的选项框不能出来,出现空白;
浏览器版本chrome 75.0.3770.142

翻译启用禁用控制

功能描述

管理中添加两种模式,默认启用翻译和默认禁用翻译。
然后右键菜单加一个对本页面(启用\禁用)翻译。

使用场景

我很少看英文,但是看英文的时候我希望快捷翻译。但是在不需要翻译的时候就会感觉碍事。
老是到设置中更改觉得很麻烦。

你的解决方案

如上

替代方案

改设置,或者禁用插件

其他信息

生词本是唯一缺少的功能了。

功能描述
生词本
你想要什么样的功能 /改进?
生词本
使用场景
firefox
你是在什么场景下需要用到这个功能 /改进?
read in firefox
你的解决方案

你有没有想到什么解决方案?

替代方案

在没有这个功能的情况下,你有没有找到什么临时的解决方案?

其他信息

如果你还需要补充什么信息,请写在这里

添加开关和固定功能

功能描述

点击地址栏的图标的时候可以快速开关划词翻译

使用场景

有些时候我希望启用划词翻译,有些时候我不希望启用划词翻译。因为我多数情况下还是在浏览中文网站,多数情况下我划词就只是为了去复制,但是每次就会出现一个翻译的小图标,并不是很好看。

你的解决方案

比如这样👇
mark

替代方案

替代方案就是到系统的拓展里面去启用和禁用拓展,不过太麻烦了,一般也就是忍一忍。

其他信息

如果你还需要补充什么信息,请写在这里

firefox浏览器翻译切分不准确

图片

firefox在翻译的时候,遇到这类不能翻译的专有名词,会出现需要横向的拉的情况,chrome则不会出现;firefox版本是68.0.1

建议增加弹出框模式

可以参考一下Google官方的翻译插件那样直接将结果显示在单词下面,感觉用起来会更方便一点。
每一次翻译的结果在左边显示出来对小屏幕来说有点占空间了

典型例句中的样式丢失问题

描述问题
翻译单个英文单词时,有时会带有典型例句一栏,此栏通常加粗翻译单词,但在此插件中的样式丢失了
例如:翻译write 然后去找典型例句一栏,句子中会出现类似 to write data to a disk 的样式代码
问题截图
TIM图片20200212221346

使用环境
FireFox72.0.2(64Bit)
插件版本1.7.1

使用chrome打开本地pdf文件时不能使用快捷键调用翻译

描述问题

如题

出现问题的网址

本地pdf文件, 使用chrome自带的pdf阅读器, 未使用这个插件的build-in pdf 阅读器

复现步骤

在chrome浏览器 插件管理 -> 快捷键管理 处设置"Translate selected text
"快捷键为某一快捷键, 如(ALT+T), 在网页文件中选择部分文字, 快捷键可以正常使用, 但在本地pdf文件中无法使用, 使用右键菜单翻译正常.

使用环境

Ubuntu 18.04.03 64bit chrome78

插件版本 [e.g. 1.2.0]

1.7.1, 以往的版本也有此问题.

页面是多个iframe问题

当页面是多个iframe的时候,点击翻译会在每个每个iframe里生成一个翻译界面。而且弄成侧边生成iframe的方式会影响页面的布局,尤其是页面带响应式的时候,体验不太好。建议改成侧边弹窗。

在Microso Edge上初次使用或变更设置后,不显示翻译

问题
在Edge上使用第一次或者重选设置后,会出现不显示中文翻译的情况。实测把自动检测语言改成英语后,翻译又正常出现

复现步骤
Edge上第一次安装后使用或者更改设置,例如侧边栏弹出位置

问题截图
image

使用环境
Microsoft Edge: Version 80.0.361.62 (Official build) (64-bit)
Edge: v1.72

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.