Skip to content

Simple Google Translate client on your console (Unofficial)

License

Notifications You must be signed in to change notification settings

snsd0805/GoogleTranslate-TUI

Repository files navigation

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