Simple Google Translate client on your console (Unofficial)
Go to file
2021-12-24 15:04:37 +08:00
TUI feat: Swap Language 2021-12-24 14:55:05 +08:00
config.json feature: Add choose language Form 2021-04-24 21:32:07 +08:00
config.py feature: Add choose language Form 2021-04-24 21:32:07 +08:00
GoogleTranslator.py feature: Add choose language Form 2021-04-24 21:32:07 +08:00
LanguageCode.csv feat: Change Directory Architecture & load LanguageCode 2021-04-24 17:40:39 +08:00
LICENSE docs: Add License 2021-04-25 22:18:05 +08:00
main.py feat: Change Directory Architecture & load LanguageCode 2021-04-24 17:40:39 +08:00
README.md docs: update README 2021-12-24 15:04:37 +08:00
requirements.txt feat: add sound supporting 2021-12-23 10:03:12 +08:00
Screenshot_20210424_224030.png docs: Add screenshot 2021-04-24 22:42:39 +08:00
Screenshot_20211224_150251.png docs: update README 2021-12-24 15:04:37 +08:00
Sound.py feat: add sound supporting 2021-12-23 10:03:12 +08:00

GoogleTranslate-TUI

Google Translate client on your console (Unofficial)

Warning

It use Google Translate's API(free), so it may not work when you send too many requests.

It just a practice for npyscreen, this respository may not update any more.

Usage

  • Install packages

    • pip install -r requirements.txt
  • Change Language Settings: vim config.json

        {
            "inputLanguage": "en",
            "outputLanguage": "zh-TW"
        }
    
  • Start

    • python main.py

Controls

  • General
    • Send Request: ALT + ENTER
    • Swap Language: CTRL + T
    • Delete all input: CTRL + D
    • Exit: Ctrl + Q
    • Select Language: Ctrl + S
      • Select other Widget: TAB/Shift+TAB
      • Select: ENTER
  • Sound
    • Play Sound on left: CTRL + K
    • Play Sound on right: CTRL + L