Simple application created to learn foreigns worlds. Running via terminal, using API to connect GoogleTranslateAPI to translate polish words. Before use you need to reginster on link: https://rapidapi.com/googlecloud/api/google-translate1 to get:
- API key from API endpoint
.
βββ Dockerfile # to create image.
βββ README.md
βββ apk.py
βββ dictionary.xlsx # xlsx with polish words to transalte, collected in 4 categories.
βββ requirements.txt # necessary libraries.
Clone the project
Go to the project directory and open terminal: Type in CLI:
$ ls
You should see this:
Dockerfile README.md apk.py dictionary.xlsx requirements.txt
Open Dockerfile and fill ENV value with value mentioned in description:
ENV API_KEY=
Build application image: π¨to run this command docker should be running on your machineπ¨
$ docker build -t <your_image_name> .
Run docker application container:
$ docker run -it --name <your_container_name> <your_image_name>
- letting choose a language source not only target.
- adding more languages.
- finding way to allow ASCII latin-2 with Google Translate API.
- creating SQLserwer to connect for bigger base of words (now words are captured from xlsx file).
- allow to choose categories, now category is randomly choosen from given 4.