Simple Google Translate client on your console (Unofficial)
Go to file
snsd0805 3ebedbc727
Merge pull request #1 from eeeXun/sound
feat: add sound supporting
2021-12-23 13:16:02 +08:00
TUI feat: add sound supporting 2021-12-23 10:03:12 +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 feat: add sound supporting 2021-12-23 10:03:12 +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
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

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