Google Translate is a translation app using Google translate api.
When I read papers, I used Google Translate 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.
- 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 - 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
�
- window top. Checking this box will cause the window to remain at the top of all applications.
until today (19/05/18)
� ->
� -> fi
� -> ffi
� -> ff
� -> fl
� -> ft
� -> ft
� -> tt
� -> th
- regular mode
- paper mode
- non paper mode
>> git clone https://github.com/LewisTian/GoogleTranslateApp.git
>> cd GoogleTranslateApp
>> pip install -r requirement.txt
>> python main.py
>> 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
GNU General Public License v3.0 License