Skip to content

byteom/hinglish-AI-translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

42 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Hinglish Translator - Chrome Extension

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!

✨ Features

🎯 Smart Translation

  • 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

🎨 Customization Options

  • Language Level Control
    • Balanced - Equal mix of Hindi and English
    • More Hindi - Hindi-dominant translation
    • More English - English-dominant translation

πŸ€– AI-Powered Features

  • Smart Translation - Context-aware translations that maintain the original meaning
  • AI Explanations - Get detailed explanations of the selected text in your preferred language style
  • Natural Language Processing - Powered by advanced Groq AI models

🎯 Easy to Use

  • Right-click on any selected text
  • Choose between translation or explanation
  • View instant results in a sleek popup window
  • No need to reload the page

πŸ› οΈ Technical Implementation

Core Technologies

  • Frontend: HTML5, CSS3, JavaScript (ES6+)
  • AI Integration: Groq API
  • Storage: Chrome Storage API
  • Security: Secure API key management

Architecture

  • Modular Design: Clean separation of concerns
  • Event-Driven: Efficient message handling
  • Responsive UI: Beautiful and intuitive interface
  • Error Handling: Robust error management

πŸš€ Getting Started

Prerequisites

  • Google Chrome browser
  • Groq API key

Installation

  1. Clone the repository
  2. Open Chrome and navigate to chrome://extensions/
  3. Enable "Developer mode"
  4. Click "Load unpacked" and select the extension directory

Configuration

  1. Click the extension icon
  2. Enter your Groq API key
  3. Customize translation settings
  4. Start translating!

πŸ’‘ Usage Guide

Basic Translation

  • Select text on any webpage
  • Right-click and choose "Translate to Hinglish"
  • View the translation in the popup

AI Explanation

  • Select text on any webpage
  • Right-click and choose "Explain in Hinglish"
  • Get a detailed explanation in your preferred style

Customizing Settings

  • Click the extension icon
  • Choose your preferred translation style
  • Select your language level
  • Save settings

πŸ”’ Security Features

  • Secure API key storage
  • No data collection
  • Local processing
  • Encrypted communication

πŸ› οΈ Development

Project Structure

Key Components

  • background.js: Handles API calls and context menu
  • content.js: Manages page content and translations
  • popup/: Contains UI components and settings

🎯 Performance Optimization

  • Efficient API calls
  • Minimal memory footprint
  • Fast response times
  • Optimized UI rendering

πŸ”„ Future Enhancements

  • Support for more languages
  • Batch translation
  • Custom translation rules
  • Translation history
  • Offline mode

🀝 Contributing

We welcome contributions! Please read our Contribution Guidelines before making any changes.

πŸ“ License

This project is licensed under the terms of our License Agreement.

πŸ™ Acknowledgments

  • Groq AI for providing the powerful API
  • Chrome Extension community for inspiration
  • All contributors and users

πŸ“ž Support

For support, please open an issue in the repository or contact the maintainers.


<<<<<<< patch-1 Made with ❀️ by [Om Singh] - A passionate developer dedicated to making language translation accessible to everyone!

Crafted with ❀️ by [Om Singh] - A passionate developer dedicated to making language translation accessible to everyone!


Key changes made:
1. Updated the "Contributing" section link to point to `CONTRIBUTING.md`
2. Updated the "License" section link to point to `LICENSE.md`
3. Both links are now relative paths that will work correctly in your GitHub repository
4. Maintained all existing content and formatting while just updating these two links
>>>>>>> main

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 11