This script / repo is to quickly look up words in different target languages as I am talking with my teachers on Italki 💪
It uses Googletrans but note that due to an issue it uses a pre-release
-
Create Virtual Environment
$ python3 -m venv venv
-
Activate Environment
$ source venv/bin/activate # Mac/Linux $ venv\Scripts\activate # Windows
-
Install Dependencies
$ pip install -r requirements.txt
-
Setup Database
$ python3 db.py
-
(Optional) Copy
.env-template
$ cp .env-template .env
.env
file should now exist. -
(Optional) Configure Default Language in
.env
If you want to start the app with a pre-selected language, you can set the
ITALKI_ACTIVATE_LANGUAGE_CODE
environment variable in the.env
file.EXAMPLE:
ITALKI_ACTIVATE_LANGUAGE_CODE="fr"
-
Running GUI (Graphical User Interface)
$ python3 gui.py
-
Running CLI (Cammand Line Interface)
$ python3 main.py
Enjoy 😎 and boost your language learning 📈