A simple and effective offline translation tool built with Tkinter GUI that translates English text into Hindi or Kannada using pretrained NLP models — perfect for users who need a lightweight and local language assistant without internet dependence for translation.
- Python
- Tkinter – for GUI
- Helsinki-NLP MarianMT – for English ↔ Hindi translation
- Meta NLLB-200 distilled model – for English ↔ Kannada translation
- Transformers (HuggingFace) – for model and tokenizer integration
- PyTorch – for efficient model inference
- Translate English to Hindi using
Helsinki-NLP/opus-mt-en-hi - Translate English to Kannada using
facebook/nllb-200-distilled-600M - Completely Offline: Once the models are downloaded, no internet is required
- Easy-to-use GUI with language dropdown
- Unicode font compatibility for native script rendering
Link - https://drive.google.com/drive/folders/1iW8zVk44ET4pX11_x_MDDYa7C8ZfFptx
pip install torch transformers tkinter