Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed Nov 7, 2022
1 parent 37c1563 commit 8711e44
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
22 changes: 21 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Let's experience immersive web translation, with Google and Yandex under the hoo
- 希望同时显示双语,以平衡部分机器翻译的不知所云
- 希望尽快摆脱这个扩展,直接习惯看原文的用户的过度助手

该扩展同时支持(依赖)谷歌翻译引擎或Yandex翻译引擎,同时支持使用Bing,Deepl进行文本选中翻译,插件完全免费,希望我们都能尽可能平等的获取知识,感谢[原作者](https://github.com/FilipePS/Traduzir-paginas-web)为这个项目付出的巨大努力。
该扩展同时支持(依赖)谷歌翻译引擎或Yandex翻译引擎,同时支持使用Bing,Deepl进行文本选中翻译,插件完全免费,希望我们都能尽可能平等的获取知识,不要让语言成为障碍,感谢[原作者](https://github.com/FilipePS/Traduzir-paginas-web)为这个项目付出的巨大努力。

## 安装说明

Expand Down Expand Up @@ -100,6 +100,26 @@ chrome,edge商店的升级和发布正在进行中,目前需要手动安装:
4. Activate developer mode
5. Load the extension with the option "Load unpacked"

This extension Forks from the [TWP](https://github.com/FilipePS/Traduzir-paginas-web) plugin, to which I have added the following features.

- Bilingual display, split by paragraph
- Translation of only the content area of the page, which greatly enhances the reading experience of the translation, instead of the previous one where all elements of the page are translated, similar to the browser reading mode, so the plugin was renamed "Immersive Translation"
- I hope this plugin is universal enough that it does not need to be customized for most websites, but there are often some websites that are not standardized, or non-content websites, and these websites are better after separate optimization, so we will do separate adaptations for such websites, and the downside is that the website may not work at any time. The bad thing is that the website may fail at any time with the update of the website, so here I will continue to optimize. If you have a commonly used website that does not translate well, please feel free to ask in [Isuee](https://github.com/theowenyoung/Traduzir-paginas-web/issues) or [Telegram group](https://t.me/+rq848Z09nehlOTgx ).
- Support bilingual translation of PDF files
- Cooperate with epub online reading website <https://1paragraph.app/> to realize bilingual reading of foreign e-books

Immersive translation is not quite the same as the goal of [original plugin](https://github.com/FilipePS/Traduzir-paginas-web), the original plugin is more as a very good general translation extension, a good alternative to browser-built translation, and a great help in browsers without browser-built translation . But this plugin is more concerned about users who often need to read foreign languages to have a good experience when reading foreign language pages (I want to do this plugin because I often need to browse a lot of foreign media articles on [Buzzing](https://www.buzzing.cc/)), so the target group of this plugin is

- often read long articles, papers from abroad
- Read foreign language PDF, foreign language e-books
- want to quickly browse Twitter, Reddit, Hacker News, Github Issue and other foreign forum sites
- Want to display both languages to learn the target language
- I hope to display bilingualism at the same time to balance the unknowingness of some machine translation
- I hope to get rid of this extension as soon as possible, which is an excessive assistant for users who are directly used to reading the original language

The extension also supports (relies on) Google translation engine or Yandex translation engine, while supporting the use of Bing, Deepl for text selection translation, the plug-in is completely free, I hope we can all get knowledge as equally as possible, thanks to [original author](https://github.com/FilipePS/Traduzir-paginas-web) for the great effort he put into this project.


## Screenshots
| Menu 1 | Menu 2 | Translated |
| :--: | :--: | :--: |
Expand Down
6 changes: 3 additions & 3 deletions src/options/options.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>

<head>
<title>Immersive Translate - 沉浸式翻译</title>
<title>Immersive Translate</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="/w3css/4/w3.css">
Expand All @@ -12,7 +12,7 @@
<body class="w3-content" style="max-width:1200px;">
<nav class="w3-sidebar w3-bar-block w3-collapse w3-top" style="z-index:3; width:300px" id="sideBar">
<div class="w3-container w3-display-container w3-padding-16">
<h3 class="w3-wide"><b>Immersive Translate - 沉浸式翻译</b></h3>
<h3 class="w3-wide"><b>Immersive Translate</b></h3>
</div>
<div class="w3-padding-64 w3-large w3-text-grey" style="font-weight:bold">
<a href="#languages" class="w3-bar-item w3-button" data-i18n="msgLanguages">Languages</a>
Expand All @@ -31,7 +31,7 @@ <h3 class="w3-wide"><b>Immersive Translate - 沉浸式翻译</b></h3>
</nav>

<header class="w3-bar w3-top w3-black w3-hide-large w3-xlarge" id="header">
<div class="w3-bar-item w3-padding-20 w3-wide">TWP</div>
<div class="w3-bar-item w3-padding-20 w3-wide">TR</div>
<a class="w3-bar-item w3-button w3-padding-24 w3-right" id="btnOpenMenu">
<div class="menu-container" id="menuContainer">
<div class="bar1"></div>
Expand Down

0 comments on commit 8711e44

Please sign in to comment.