https://github.com/munjpatel/translatenexa
A Streamlit-based Google Translator clone that supports efficient, asynchronous translations of large text inputs. The app breaks down lengthy text into batches, providing real-time progress updates for smooth user experience. Hosted on Streamlit, TranslateNexa is designed for fast, multi-language translations accessible to everyone.
https://github.com/munjpatel/translatenexa
asynchronous-programming charles-proxy google-translator webscraping
Last synced: about 2 months ago
JSON representation
A Streamlit-based Google Translator clone that supports efficient, asynchronous translations of large text inputs. The app breaks down lengthy text into batches, providing real-time progress updates for smooth user experience. Hosted on Streamlit, TranslateNexa is designed for fast, multi-language translations accessible to everyone.
- Host: GitHub
- URL: https://github.com/munjpatel/translatenexa
- Owner: MunjPatel
- License: mit
- Created: 2024-04-27T17:51:07.000Z (about 2 years ago)
- Default Branch: dev
- Last Pushed: 2025-07-26T08:53:54.000Z (11 months ago)
- Last Synced: 2025-07-26T14:46:00.016Z (11 months ago)
- Topics: asynchronous-programming, charles-proxy, google-translator, webscraping
- Language: Python
- Homepage: https://translatenexa.streamlit.app/
- Size: 8.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# **TranslateNexa: Google Translator Clone**
**TranslateNexa** is a **Streamlit-based** application that offers **asynchronous** and **efficient translations** using **Google's translation service**. The app is capable of handling **large text inputs** by breaking them down into manageable batches, providing **real-time progress updates**, and offering **multiple language translations** simultaneously.
---

---
## **Features**
- **Asynchronous Translation**: Efficiently handles large inputs with non-blocking requests.
- **Batch Processing**: Splits text into batches to avoid payload limits, ensuring successful translations even for lengthy inputs.
- **Progress Tracking**: Displays real-time translation progress, speed, and statistics for a better user experience.
- **Clear Input**: Reset the input text and language selections with a single click.
## Access the Application
TranslateNexa is hosted on **Streamlit Community Cloud** and can be accessed directly in production at:
**[TranslateNexa on Streamlit](https://translatenexa.streamlit.app/)**
## Running Locally
If you wish to run the app locally, follow these steps:
1. Clone the repository:
```bash
git clone https://github.com/MunjPatel/google_translator.git
```
2. Go to the current directory:
```bash
cd google_translator
```
3. Install the required dependencies:
```bash
pip install -r requirements.txt
```
4. Run the Streamlit app:
```bash
streamlit run async_translator.py
```
## How It Works

## Translation Accuracy
Although this method shows impressive capabilities in terms of **accuracy**, **speed**, and handling **complex and large text inputs** effectively, the overall translation accuracy can still vary depending on the complexity of the text and the language pair. It is important to note that machine translation is not flawless and may struggle with idiomatic expressions, cultural nuances, or context-specific meanings. I recommend using this tool for general purposes, not for translations that require high precision.
## Learn More
For a step-by-step code explanation of TranslateNexa, check out my Medium article: [TranslateNexa — A Streamlined Solution for Fast, Large-Scale Multilingual Translations](https://medium.com/@patelmunj2011/translatenexa-a-streamlined-solution-for-fast-large-scale-multilingual-translations-2c5fd4dda70e).
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.