rohanpm / qingfanyi

Interactive Chinese to English dictionary lookup tool for Linux desktops
GNU General Public License v3.0
0 stars 1 forks source link

qingfanyi

qingfanyi or qfy is an interactive Chinese to English translation tool for Linux desktop systems.

Usage

  1. Enable accessibility support for your desktop environment, or the program(s) where you'll want to use qingfanyi. (See Enabling Accessibility below for additional details.)
  2. Run qfy.
  3. When the active window contains some traditional or simplified Chinese text, press the global shortcut (default: <Ctrl><Alt>z).
  4. A window will pop up highlighting all translatable Chinese text in the active window. Click on a Chinese word or phrase to look up the English definition, or use the keyboard to navigate between words/phrases:
    • Left/Right: move backwards/forwards one word or phrase
    • Up/Down: jump many words backwards/forwards
    • Enter: close window

qingfanyi with Firefox demo

Enabling Accessibility

This program relies on accessibility support via AT-SPI 2. Generally, this is disabled by default and must be explicitly enabled before the program will work.

This is an incomplete list of methods for enabling accessibility:

Please be aware that the quality of accessibility support varies between programs. Enabling accessibility may cause performance or stability issues in some programs.

License

This software is licensed under the GNU General Public License version

  1. Please see the included LICENSE.GPL for the terms of this license.

This software incorporates a copy of CC-CEDICT, a complete Chinese to English dictionary. This data is licensed under the Creative Commons Attribution-Share Alike 3.0 License