Skip to content

A Python tool for translating text between languages and converting the translation into audio. Using `googletrans` for translation and `gTTS` for text-to-speech, this project provides a simple way to create multilingual audio content directly in a Jupyter Notebook environment.

Notifications You must be signed in to change notification settings

unnatisaxena/Text-Translator-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Text Translation and Audio Conversion Tool

A Python-based tool for translating text from one language to another and converting the translated text into an audio file. This project leverages the googletrans library for translation and gTTS (Google Text-to-Speech) for generating audio.

Features

  • Multilingual Text Translation: Translate text between numerous languages by selecting source and target language codes.
  • Text-to-Speech Conversion: Convert the translated text into an audio file with support for saving and playback in a Jupyter Notebook.
  • Error Handling: Displays user-friendly error messages for smooth operation even if translation or audio generation fails.

Prerequisites

Make sure you have Python installed. Then, install the following packages:

pip install googletrans==4.0.0-rc1 gTTS

About

A Python tool for translating text between languages and converting the translation into audio. Using `googletrans` for translation and `gTTS` for text-to-speech, this project provides a simple way to create multilingual audio content directly in a Jupyter Notebook environment.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published