Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polish to English Mini Dictionary 📚

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!

Features

  • 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.

Words Included

Polish English
kot cat
pies dog
panda panda
lis fox
wilk wolf
wąż snake
niedźwiedź bear
koń horse
konik morski seahorse
ryba fish
skrzypołcz horseshoe crab

Installation

Clone this repository:

git clone https://github.com/blockersiontko/mini_translator.git

Move into the project directory:

cd mini_translator

How to Run

Run the Python script:

python interface.py

Example

PL: koń
EN: horse

If an invalid word is entered:

PL: kiełbasa
EN: Nie znam takiego słowa!

Repository

GitHub: https://github.com/blockersiontko/mini_translator

Technologies Used

GUI

  • tkinter
  • ttk
  • grid

LIBRARIES

  • tkinter
  • requests (Apache 2.0) - CaseInsensitiveDict

LOGIC

  • Case Insensitive Dictionary - (requests.structures.CaseInsensitiveDict)
  • set() and get()
  • dictionary.py

Future Improvements - V2

  • Both side translation
  • Copy results to clipboard
  • API Connection
  • Dark Theme

License

This project is licensed under the MIT License.

About

Made in Python, small translator project using a dictionary in order to understand hashmaps :3

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages