A powerful and intuitive Chrome extension that brings seamless translation and AI-powered explanations to your browsing experience. Transform any English text into Hinglish (Hindi written in English letters) or Hindi with just a right-click!
- Multiple Translation Styles
- Hinglish (Default) - Perfect blend of Hindi and English
- Hindi (Devanagari) - Pure Hindi script
- Roman - Hindi in English letters
- Formal Hinglish - Professional tone
- Casual Hinglish - Conversational style
- Language Level Control
- Balanced - Equal mix of Hindi and English
- More Hindi - Hindi-dominant translation
- More English - English-dominant translation
- Smart Translation - Context-aware translations that maintain the original meaning
- AI Explanations - Get detailed explanations of selected text in your preferred language style
- Natural Language Processing - Powered by advanced Groq AI models
- Right-click on any selected text
- Choose between translation or explanation
- Instant results in a beautiful popup
- No page reload required
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- AI Integration: Groq API
- Storage: Chrome Storage API
- Security: Secure API key management
- Modular Design: Clean separation of concerns
- Event-Driven: Efficient message handling
- Responsive UI: Beautiful and intuitive interface
- Error Handling: Robust error management
- Google Chrome browser
- Groq API key
- Clone the repository
- Open Chrome and navigate to
chrome://extensions/ - Enable "Developer mode"
- Click "Load unpacked" and select the extension directory
- Click the extension icon
- Enter your Groq API key
- Customize translation settings
- Start translating!
- Select text on any webpage
- Right-click and choose "Translate to Hinglish"
- View the translation in the popup
- Select text on any webpage
- Right-click and choose "Explain in Hinglish"
- Get a detailed explanation in your preferred style
- Click the extension icon
- Choose your preferred translation style
- Select your language level
- Save settings
- Secure API key storage
- No data collection
- Local processing
- Encrypted communication
hinglish-translator/
├── manifest.json
├── background.js
├── content.js
├── popup/
│ ├── popup.html
│ ├── popup.js
│ ├── popup.css
│ └── welcome.html
└── README.md
- background.js: Handles API calls and context menu
- content.js: Manages page content and translations
- popup/: Contains UI components and settings
- Efficient API calls
- Minimal memory footprint
- Fast response times
- Optimized UI rendering
- Support for more languages
- Batch translation
- Custom translation rules
- Translation history
- Offline mode
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Groq AI for providing the powerful API
- Chrome Extension community for inspiration
- All contributors and users
For support, please open an issue in the repository or contact the maintainers.
Made with ❤️ by [Om Singh] - A passionate developer dedicated to making language translation accessible to everyone!