<img src="../images/google-trans.png" alt="logo" height="120" align="right" />
## Google Translate
Google Translate is a translation app using [Google translate api](https://github.com/ssut/py-googletrans).
### Screenshot
<div align="center">
<img src="../images/Google-Translate.png" alt="Google Translate English" height="350" />
<img src="../images/Google-Translate-zh_CN.png" alt="Google Translate English" height="350" />
</div>
### Background
When I read papers, I used [Google Translate](https://translate.google.cn) to translate the words and sentences that I could not understand. But every time I had to use shortcuts Ctrl+C, Ctrl+V. Moreover when copying sentences from a PDF, it will bring a additional enter and a strange symbol sometimes. It is very annoying. Then I wondered why I could't develop a app to use the Google Translate API to translate them directly. I viewed the Google Translate project on GitHub and found an [interesting repo](https://github.com/ssut/py-googletrans).
### Feature
1. Enter the translation manually. Enter the English you want to translate in the 'original' input field, then click the `translate` button, or use the shortcut Ctrl+Enter
2. paper model. To use the paper mode, you need to check the real-time translation. My real-time translation here is to monitor the clipboard, then translate the copied text into Chinese, and automatically replace the additional enter and multiple spaces with a space in the paper mode, and remove one special symbol ``
3. window top. Checking this box will cause the window to remain at the top of all applications.
### replace rules
until today (19/05/18)
```
->
-> fi
-> ffi
-> ff
-> fl
-> ft
-> ft
-> tt
-> th
```
### Preview
1. regular mode
<div align="center">
<img src="../images/Google-Translate-1.gif" alt="regular mode">
</div>
2. paper mode
<div align="center">
<img src="../images/Google-Translate-2.gif" alt="paper mode">
</div>
3. non paper mode
<div align="center">
<img src="../images/Google-Translate-3.gif" alt="non paper mode">
</div>
### Installation
```
>> git clone https://github.com/LewisTian/GoogleTranslateApp.git
>> cd GoogleTranslateApp
>> pip install -r requirement.txt
>> python main.py
```
### Package
```
>> git clone https://github.com/pyinstaller/pyinstaller.git
>> cd pyinstaller
>> python setup.py install
>> pyinstaller -F -w main.py -p mwin.py -p res_rc.py -i google.ico
```
### Download
[click me to download](https://github.com/LewisTian/PyQt5-Apps/releases)
### References
- https://github.com/ssut/py-googletrans
- https://blog.csdn.net/killua_hzl/article/details/5288769
### License
GNU General Public License v3.0 License
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
欢迎探索PyQt5应用程序集锦,这是一套精心编写的多功能桌面应用程序集,基于Python和Qt5框架。这些应用涵盖了从文本编辑器到计算器、图像查看器等多种工具,不仅展示了PyQt5在实际开发中的强大功能,也提供了丰富的学习材料和灵感源泉,适合初学者和中级开发者深入学习和掌握PyQt5。 主要特性: 多样化的应用场景:包括基本的文本编辑、图片处理、计算机视觉等多种实用工具,满足不同场景的开发需求。 代码清晰详尽:每个示例都有详细的代码注释和文档说明,帮助用户理解Qt5的UI设计和事件处理机制。 易于自定义和扩展:代码结构清晰,易于修改和扩展新功能,非常适合进行个性化定制和功能增强。 图形用户界面友好:所有应用都配备了直观的图形用户界面,优化用户交互体验,展示了PyQt5在制作现代化GUI中的优势。 适用场景: 软件开发和原型设计:快速搭建和测试复杂的用户界面应用程序。 教育学习:理想的教育工具,适用于教师教授和学生学习Python GUI编程。 个人项目:为个人项目提供强大的起点,特别是在需要图形界面的应用中。 资源包含内容: 完整的源代码库,包括多个独立的PyQt5应用。 每个应
资源推荐
资源详情
资源评论
收起资源包目录
python pyqt5app集合设计demo需求自取应用程序集锦 (159个子文件)
res_rc.7z 124KB
gen.cmd 76B
gen.cmd 76B
gen.cmd 76B
gen.cmd 76B
gen.cmd 76B
gen.cmd 76B
mwin.cpp 1KB
mwin.cpp 214B
mwin.cpp 179B
mwin.cpp 177B
mwin.cpp 177B
mwin.cpp 177B
mwin.cpp 177B
mwin.cpp 177B
mwin.cpp 177B
main.cpp 160B
main.cpp 160B
main.cpp 160B
main.cpp 160B
main.cpp 160B
main.cpp 160B
main.cpp 160B
main.cpp 160B
main.cpp 160B
mp4box.exe 215KB
ffmpeg-helper.gif 2.02MB
word-cloud-generator.gif 1.43MB
Bilibili-Kit.gif 772KB
cat-calendar.gif 549KB
Lossless-Music-Box.gif 292KB
HUST-Lib.gif 239KB
Google-Translate-3.gif 207KB
pangu.gif 174KB
Google-Translate-2.gif 141KB
Google-Translate-1.gif 66KB
mwin.h 275B
mwin.h 259B
mwin.h 249B
mwin.h 249B
mwin.h 249B
mwin.h 249B
mwin.h 249B
mwin.h 243B
mwin.h 243B
smart-hust.ico 66KB
icon.ico 66KB
library.ico 17KB
logo.ico 17KB
google.ico 9KB
favicon.ico 4KB
setting.ini 89B
bilibili.jpg 43KB
alipay.jpg 28KB
README.md 3KB
README.md 2KB
README.md 2KB
README - 1.0.md 1KB
README.md 1KB
README.md 959B
README.md 773B
README.md 729B
README.md 503B
README.md 277B
README.md 252B
README.md 187B
SourceHanSansCN-Bold.otf 8.21MB
wordcloud.png 487KB
default.png 338KB
wechatpay.png 102KB
alipay.png 58KB
weicatpay.png 37KB
google-trans.png 27KB
google.png 26KB
HUST-Electricity-Fee-1.png 19KB
HUST-Electricity-Fee-2.png 18KB
Bilibili-Kit.png 18KB
HUST-Electricity-Fee.png 13KB
Google-Translate-zh_CN.png 12KB
Google-Translate.png 12KB
Lossless-Music-Box.png 12KB
icon.bak.png 11KB
missevan-kit.png 9KB
HUST-Lib.png 8KB
cat.png 8KB
hust-gs-grade.png 7KB
wordcloud.png 6KB
library.png 5KB
Words-Recorder.png 5KB
logo.png 3KB
smart-hust.png 2KB
icon.png 2KB
help.png 2KB
connect.png 2KB
about.png 2KB
music-box.png 2KB
memory card.png 1KB
Words-Recorder-icon.png 1KB
m3.png 1KB
m1.png 1KB
共 159 条
- 1
- 2
资源评论
拉叭叭小能手
- 粉丝: 36
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功