Chrome Extension for ImageTrans. You can use this to translate images on webpages.
It should be used in couple with ImageTrans and ImageTrans_wsServer.
pixiv.mp4
- Install from Chrome Store or manually install it by downloading this repository and installing the extension through More Tools->Extensions->Load unpacked. Remember to check developer mode.
- Purchase ImageTrans and install it.
- Download ImageTrans_wsServer.jar and put it with ImageTrans.
- Install and enable Allow CORS to remove restrictions on downloading images for some websites (optional).
- Pin the ImageTrans extension.
- Open ImageTrans. Open Server through Tools->Server. Press Start the server button and press Reconnect button. Check silent translation mode if you want ImageTrans to do tasks silently.
- Open or create an ImageTrans project. Set up things like its language pair in project setting. Choose params like ocrengine and language.
- In Chrome, right click on the image to translate it.
- If the context menu is disabled, you can use the popup menu to translate the image in the center of the screen. You can also set it to translate the image behind the mouse cursor. After the setup, you can press CTRL+SHIFT+F (CTRL+SHIFT+V on mac) to call the popup and press TAB to alter the buttons. Then press Enter to run the desired action like translating the image or getting the image's src.
If the images on a web site have a unique URL and are downloadable, then the extension can handle it, otherwise, the web site is not supported.
- Demo video on Youtube: link
- Tutorial: https://www.bilibili.com/video/BV1E5411p73K?p=2
-
Why it says "Failed to connect to ImageTrans server"?
Please check if you are running the server. You can visit https://local.basiccat.org:51043/translator to see if it is running.
-
What are the differences from other image translation extensions?
This extension works on your own device. No subscription to an online service is required which saves you money.
-
Why it cannot connect to the server on macOS?
Please make sure that the system's Java version is above 11.
If not, you need to upgrade it. You can download one from here.
-
Why it says the connection is not private?
This is because I haven't updated the certificate. Please click advanced and continue to visit the site.
ImageTrans的Chrome扩展程序。你可以用它来翻译网页上的图像。
它需要与ImageTrans和ImageTrans_wsServer配合使用。
- 从商店安装或者下载这个仓库中的扩展手动安装。手动安装操作:更多工具->扩展程序->加载已解压的扩展程序。记得勾选开发者模式。
- 购买ImageTrans并安装。
- 下载ImageTrans_wsServer.jar并将其与ImageTrans放在一起。
- 安装并启用Allow CORS以移除某些站点对下载图片的限制(可选)。
- 固定ImageTrans扩展到工具栏。
- 打开ImageTrans。点击菜单栏->工具->服务器,打开服务器程序。点击“启动服务器”按钮,然后点击“重新连接”按钮。如果希望ImageTrans以静默方式执行任务,勾选静默翻译。
- 打开或创建一个ImageTrans项目。在项目设置中设置如语言对等项目。选好OCR引擎和语言。
- 在Chrome中,在图片上右键进行翻译。
- 如果右键菜单被禁用了,可以点击工具栏上的图标唤出弹窗进行操作,翻译屏幕中央的图片。你也可以设置翻译鼠标下方的图片。设置完成后将鼠标移到需要翻译的图片上。按下CTRL + SHIFT + F(在Mac上为CTRL + SHIFT + V)调出操作窗口,按TAB键更改按钮。之后按回车键运行所需的操作,比如翻译图像或获取图像的链接。
如果网站的图片有明确的URL并且可以下载,那这个扩展程序就能处理,如果不是的话,这个网站就不受支持。
B站上的演示和教程视频:链接
-
提示"Failed to connect to ImageTrans server"?
检查下是不是正确运行了服务器。可以访问https://local.basiccat.org:51043/translator以检查它是不是在运行。
-
和其它的图片翻译插件有什么不同?
这个插件在本地电脑上完成处理,不需要花额外的钱订阅在线服务。
-
在macOS上为什么不能连接到服务器?
请确保系统的Java版本大于11。
如果低于11,请进行升级。可以在此处下载安装包。
-
为什么显示连接问题?
因为我没有及时更新证书。请先点高级选项继续访问页面。