Skip to content

Translix is a powerful AI powered Chrome Extension that enables you to instantly translate selected text in any input box into your desired language with a simple shortcut key or long-press preview. Communicate effortlessly across languages with ease and precision!

Notifications You must be signed in to change notification settings

dev-mdsohagmiya/translix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

Translix Logo

Translix - Seamless AI Powered Text Translation Chrome Extension

Translix is a powerful AI powered Chrome Extension that enables you to instantly translate selected text in any input box into your desired language with a simple shortcut key or long-press preview. Communicate effortlessly across languages with ease and precision!

Why Translix

  1. Effortless Communication: While chatting with a customer or client in English or any other language, you can type in the chatbox any message with your mother language and press a shortcut key to instantly translate it into your desired language.
  2. Understand Incoming Messages: If a client sends a message in English or another language you don’t fully understand, select the text and long-press the icon to see the translation in your native language on the right side.
  3. Read with Ease: When reading documents and encountering unfamiliar sentences or words, select the text, long-press the icon, and view the meaning in any language.

Translix simplifies communication and reading across languages!

Quick Start

  1. Install First click here to download the extension zip file, then go to chrome://extensions and enable Developer mode, and finally click Load unpacked and upload the extracted zip folder.

  2. Configure AI Provider: After loading the unpacked extension , you must configure an AI provider to enable translation functionality (this is required).

  3. Use Groq for Best Performance: Add a Groq API key for optimal results—it’s completely free. Refer to the Groq Configuration section for instructions on obtaining the key.

  4. Apply Settings: After adding the API key in the settings, refresh the webpage to apply changes.

  5. Translate Text: Select text on any webpage, and three icons (e.g., BN for Bangla, EN for English) will appear. Click an icon to replace the selected text with its translation. You can change the default translation language in the settings.

  6. Use Shortcuts: After selecting text, use keyboard shortcuts to translate—Ctrl + M for Bangla (or your primary language) and Ctrl + E for English. These can be customized in the settings.

  7. Preview Translations: To view a translation without replacing the text, select the text, long-press an icon, and a box will appear on the right displaying the translated text.

Effortless. Fast. Multilingual.
Replace text or preview translations in just a few clicks.


📑 Table of Contents

  1. Overview Video
  2. Installation Guide
  3. LLMs Providers Configurations
  4. How to Use
  5. Settings & Customization
  6. Technology Stack
  7. Support & Feedback

Overview Video

Get a quick glimpse of Translix in action! Watch the video below to see how it simplifies multilingual communication.

Watch the Video

Click the image to watch on YouTube


Installation Guide

Follow these simple steps to install Translix and start translating text instantly:

  1. ⬇️ Download the extension’s ZIP file click here to download.
  2. 🌐 Open Chrome and navigate to chrome://extensions.
  3. ⚙️ Enable Developer Mode (top-right corner).
    Step 1
  4. 📂 Click Load unpacked and select the extracted ZIP folder.
    Step 1
  5. ✅ Once installed, Translix will appear in your Chrome extensions list.
    Step 1

Pro Tip: Pin Translix to your Chrome toolbar for quick access!


LLM Provider Configuration

Translix requires a configured LLM Provider for accurate translations. Set up a Free API Key in the settings to enable translation functionality. Below are instructions for configuring popular providers:

Groq Configuration

To use Groq for translations:

  1. Visit console.groq.com.
  2. Create an account or sign in. You can quickly sign up or log in with your Gmail.
  3. Click to create an API key from API Keys.
    Step 1
  4. Set your API key name, then click to submit. After that, you will see your API key — copy it.
    Step 1
    Step 1
  5. Open the Translix extension, go to Settings → API Configuration, select the provider Groq, enter your API key, click Save, and refresh the page to apply the changes.
    Step 1
    Step 1

Note: Groq offers fast and accurate translations, ideal for multilingual communication.

Hugging Face Configuration

To use Hugging Face for translations:

  1. Go to huggingface.co.
  2. Sign up or log in to your account.
  3. Navigate to Settings > Access Tokens and create a new API token.
    Step 1
  4. Enter any token name you like. Setting the permission to Inference only will be enough.
    Step 1
  5. Scroll down, click the Create Token button to create the token, and copy the token.
    Step 1
    Step 1
  6. Open the Translix extension, go to Settings → API Configuration, select the provider Hugging Face, enter your API key, click Save, and refresh the page to apply the changes.
    Step 1
    Step 1

Note: Hugging Face supports a wide range of open-source translation models.

Gemini Configuration

To use Google Gemini for translations:

  1. Visit aistudio.google.com.
  2. Go to API keys and click Create API key.
    Step 1
  3. Select a project and click Create API Key in Existing Project. If you don’t see any project, go to console.cloud.google.com and create a new one. Use the same Gmail account for generating the API key.
    Step 1
    Step 1
  4. Copy the API key and paste it into the AI Provider section of Translix’s settings.
    Step 1
  5. Open the Translix extension, go to Settings → API Configuration, select the provider Gemini, enter your API key, click Save, and refresh the page to apply the changes.
    Step 1
    Step 1

Note: Ensure your Gemini API key has access to translation-capable models.


How to Use

Translix makes translation intuitive and fast. Here’s how it works:

  1. Select Text: Highlight text in any input box after refreshing the page. Two icons will appear next to the selection.
    Step 1

Replace Text

Click an icon to instantly replace the selected text with its translation.
Example: Clicking the BN icon translates the text to Bangla.
Step 2

Preview Translation

Long-press an icon to view the translated text in a preview box. Copy the previewed translation and paste it anywhere you need.
Step 3

Why It’s Awesome: Translate directly in forms, chats, or text editors without leaving the page!


Settings & Customization

Customize Translix to suit your needs via the Settings page, accessible by clicking the Settings Icon in the extension toolbar.
Settings

LLMs Models Configuration s

Add your preferred LLM Provider for translations by configuring an API key. This enhances translation accuracy and speed.

  • Navigate to the AI Provider section in the settings.
  • Select a provider (e.g., Groq, Hugging Face, or Gemini) and input the API key.
  • For specific provider setup, refer to the LLM Provider Configuration section.

Note: Configuring a custom LLM model ensures better translation quality over the default provider.

Language & Shortcut

  • Choose your target language (e.g., BN → Bangla, EN → English, etc.).
  • Customize shortcut keys for quick translations.

Default Shortcuts:

  • Ctrl + M → Translate to Bangla (BN)
  • Ctrl + E → Translate to English (EN)

Pro Tip: Set shortcuts that don’t conflict with other browser or system commands.


Technology Stack

Translix is built with modern, reliable technologies:

  • Frontend: Chrome Extension with React for a smooth and dynamic UI.
  • Backend: Express.js for fast and secure API communication.
  • Translation APIs: Powered by leading LLMs (Groq, Hugging Face, Gemini, etc.) for accurate translations.

Support & Feedback

Have questions or suggestions? We’d love to hear from you!

Your feedback helps us make Translix even better!


Translix - Break language barriers with a single click. Start translating today!!!

About

Translix is a powerful AI powered Chrome Extension that enables you to instantly translate selected text in any input box into your desired language with a simple shortcut key or long-press preview. Communicate effortlessly across languages with ease and precision!

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published