A simple Python program that translates Polish words into English words. Doesn't have that big of a dictionary, because it was mostly made as a learning project!
- Translates animal names from Polish to English.
- Validates user input.
- Repeats the prompt until a valid animal name is entered.
- Uses a Python dictionary for fast lookups.
- Light and dark theme, switchable via a "Toggle theme" button.
- Custom ap icon and a colored title bar that matches the active theme (Windows only).
Clone this repository:
git clone https://github.com/blockersiontko/mini_translator.gitMove into the project directory:
cd mini_translatorRun the Python script:
python interface.pyPL: koń
EN: horse
If an invalid word is entered:
PL: kiełbasa
EN: Nie znam takiego słowa!
GitHub: https://github.com/blockersiontko/mini_translator
- tkinter
- ttk
- grid
- os
- json
- ctypes (Windows DWM API for title bar theming)
- tkinter
- requests (Apache 2.0) - CaseInsensitiveDict
- Case Insensitive Dictionary - (requests.structures.CaseInsensitiveDict)
- set() and get()
- dictionary.py
- metadata.json - app name/version loaded from 'metadata.json'
- Both side translation
- Copy results to clipboard
- API Connection
- Color the title bar/Make the program work (Linux + macOS)
This project is licensed under the MIT License.
