Giter VIP home page Giter VIP logo

gtrans-web-gui's Introduction

Gtrans-Web-GUI

GUI helper for Google Translation Website.

This application translates your copied or selected texts using Google Translation Website.

Dependency

  • Python (2.x or 3.x)
  • Qt5 (Python binding)

Supports

  • Linux Python 2.7
  • Linux Python 3.6
  • Windows Python 2.x
  • Windows Python 3.6
  • Windows PowerShell Python 3.6
  • Mac OS Python 2.x
  • Mac OS Python 3.x

Usage

$ python python/gtransweb_gui.py [-h] [-s SRC_LANG] [-t TGT_LANG]
                                 [-c {copy,select,findbuf}] [-b BUF_TIME]

# Example for Linux
$ python python/gtransweb_gui.py

# Example for Windows
$ python python/gtransweb_gui.py -c copy -b 0

Arguments

  -h, --help                        Show the help message and exit.
  -s SRC_LANG, --src_lang SRC_LANG  Source language.  [default: auto]
  -t TGT_LANG, --tgt_lang TGT_LANG  Target language.  [default: ja]
  -m MIDDLE_LANG, --middle_lang MIDDLE_LANG
                        Intermediate language (for secondhand translation)
  -c {copy,select,findbuf}, --clip_mode {copy,select,findbuf}
                                    Clipboard mode for translation trigger.
                                    'select' is valid on only Linux.
                                    [default on Linux: select,
                                     Others          : copy]
  -b BUF_TIME, --buf_time BUF_TIME  Buffering time for clipboard.
                                    [default on Linux: 1000 (for select mode),
                                     Others          : 0]
  -d, --double          Secondhand translation.

Keyboard Shortcuts

  • ESC : Hide the window and wait for clipboard action.
  • Enter (+ CTRL) : Start to translate the text in the text box.

Screenshot

TODO

  • Support for Mac OS X. Clipboard behavior is something wrong.
  • Additional GUI, such as language selection, save settings and so on.

Others

This plugin is tested on few environments.

I hope your pull requests!

gtrans-web-gui's People

Contributors

takiyu avatar fuku5 avatar

Watchers

James Cloos avatar

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.