This Chrome extension adds a Translate button to WhatsApp Web, enabling users to translate incoming and outgoing messages directly within the chat interface. Users can also translate the input message before sending it, making it easy to communicate across language barriers.
- Message Translation: Hover over any message to reveal a Translate button. Clicking it translates that message's text to the preferred language.
- Input Field Translation: Translate any message in the input field and send it in the chosen language.
- Multiple Language Support: Set your preferred language from the dropdown, which will be used for all translations. (You can change further it if you want)
- Auto Language Detection: Automatically detects the original language of each message before translating, ensuring accurate translations without manual language selection.
2024-11-02.19-30-04.mp4
- Clone the repository:
git clone https://github.com/souvik-wizard/WordWave.git
-
Add your API key
- First, go to Rapid Api and create a account.
- Then go to Microsoft API, select Basic plan, click Start Free Plan and then hit Subscribe.
- You will be redirected to the API dashboard where you find the 'X-RapidAPI-Key'.
- Copy the key and paste your API key here.
-
/config.js const API_KEY = "YOUR_API_KEY";
-
Navigate to the Extensions page in Chrome by typing chrome://extensions in the address bar.
-
Enable Developer Mode by toggling the switch in the upper right corner.
-
Click on 'Load unpacked' and select the folder where you cloned this repository.
-
The extension should now appear in your list of extensions.
-
Click on it and pin it for easy access. (Optional)
-
Open the extension by clicking on it and then click on 'Get Started' button and you will be directly redirected WhatsApp Web or manually open WhatsApp Web and log in with your account.
-
After getting redirected to WhatsApp Web click on the extension and select your preferred language from the dropdown and hit save.
-
Now open any chat.
-
Hover over any incoming or outgoing message. A Translate button will appear below the message.
-
Click the Translate button to translate that specific message to the preferred language.
-
To translate the message in the input field before sending it, type a message you want to translate and then click the Translate button that appears in the right corner of the input field.
- API Quotas: The free tier of most translation APIs has request limits. Upgrade to a paid plan if needed or create another account.
- Limit in basic plan:
I welcome contributions! Fork the Repository if you'd like to contribute :)