Skip to content

Chrome extension that translates Hinglish technical text to professional English using Google Gemini API with real-time streaming

Notifications You must be signed in to change notification settings

rushikeshxdev/dev-translator

Repository files navigation

DevTranslator ⚡

"Yaar, server crash ho raha hai" → "The server is experiencing critical issues"

A Chrome extension that instantly translates your Hinglish developer thoughts into professional English. Built for developers who think fast in Hinglish but need to communicate professionally.

Chrome Extension TypeScript React AI Powered

🤔 The Problem

As an Indian developer, I found myself constantly switching between thinking in Hinglish and writing in professional English. Whether it's Slack messages, documentation, or emails - the mental translation was slowing me down.

Before DevTranslator:

  • Think: "Yaar ye bug bahut tricky hai, database connection fatt raha hai"
  • Type: "This is a complex bug, the database connection is failing"
  • Time wasted: Mental translation + rephrasing

After DevTranslator:

  • Think: "Database connection fatt raha hai"
  • Paste → Translate → Copy: "The database connection is experiencing failures"
  • Time saved: Instant professional translation

✨ What It Does

DevTranslator bridges the gap between how you think and how you need to communicate professionally.

Real Examples:

Your Hinglish Thought Professional Output
"Server bar bar crash ho raha hai" "The server is experiencing frequent crashes"
"Code review mein bahut issues hai" "The code review has identified several issues"
"Deployment fatt gaya production mein" "The deployment encountered critical errors in production"
"API response slow aa raha hai" "The API response time is experiencing delays"

🚀 Features

  • ⚡ Instant Translation: Real-time streaming responses in <200ms
  • 🧠 Context-Aware: Understands technical terminology and context
  • 🔐 Privacy-First: Your API key stays in your browser, no data stored on servers
  • 🎯 Multiple Options: Get different levels of formality (direct to corporate)
  • ⌨️ Keyboard Shortcuts: Ctrl+Enter to translate, Ctrl+Shift+C to clear

🛠️ Built With

  • Frontend: React 19 + TypeScript + Tailwind CSS
  • Framework: Plasmo (Chrome Extension framework)
  • AI Engine: Google Gemini 2.5 Flash API
  • Architecture: BYOK (Bring Your Own Key) - no backend needed
  • Storage: Chrome Storage API (local only)

📥 Installation

Quick Setup (2 minutes)

  1. Download the Extension

    • Clone this repo or download the release
    • Run npm install && npm run build
    • Or download from Releases
  2. Install in Chrome

    • Open chrome://extensions/
    • Enable "Developer mode"
    • Click "Load unpacked" → Select build/chrome-mv3-prod folder
  3. Get Your Free API Key

    • Visit Google AI Studio
    • Create a free API key (15 requests/minute, 1500/day)
    • Paste it in the extension settings
  4. Start Translating!

    • Click the extension icon
    • Type your Hinglish text
    • Get professional English instantly

💡 Why I Built This

As a developer from India, I noticed that many of us think and discuss technical problems in Hinglish - it's natural and efficient. But when it comes to documentation, client communication, or professional emails, we need polished English.

This extension eliminates that friction. No more pausing to think "How do I say this professionally?" - just translate and move on.

🎯 Perfect For

  • Slack/Teams Messages: Professional team communication
  • Documentation: Technical writing and README files
  • Client Emails: Formal business communication
  • Code Comments: Clear, professional code documentation
  • Bug Reports: Detailed, professional issue descriptions

🔒 Privacy & Security

  • No data collection - Zero tracking, zero analytics
  • Local storage only - API key stored in your browser
  • Direct API calls - Your text goes straight to Google's API
  • Open source - Full code available for review
  • No subscription - Just bring your own free API key

🚀 Development

# Clone the repository
git clone https://github.com/rushikeshxdev/dev-translator.git
cd dev-translator

# Install dependencies
npm install

# Start development server
npm run dev

# Build for production
npm run build

🤝 Contributing

Found a bug? Have a feature idea? Contributions are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

📈 Roadmap

  • Context Menu: Right-click to translate selected text
  • Slack Integration: Direct integration with Slack
  • Tone Control: Adjust formality level (casual → corporate)
  • Firefox Support: Port to Firefox Add-ons
  • Offline Mode: Basic translations without API

🙏 Acknowledgments

  • Google for the Gemini API
  • Plasmo team for the excellent Chrome extension framework
  • Indian developer community for the inspiration and feedback

📄 License

MIT License - feel free to use this project however you'd like!

👨‍💻 Author

Rushikesh Randive


Built with ❤️ for the Indian developer community
Because thinking in Hinglish shouldn't slow down your professional communication


⭐ If this extension helps you, please give it a star! It means a lot to me.

About

Chrome extension that translates Hinglish technical text to professional English using Google Gemini API with real-time streaming

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published