Extension for Google Chrome that automatically translates Discord Web messages into the language of your choice.
- Automatic Translation: Translates new messages as soon as they arrive.
- Language Selection: Support for multiple languages (Portuguese, English, Spanish, etc.).
- Visual Integration: Translations appear right below the original message.
- Easy Toggle: Quickly enable or disable translation through the popup.
Since this extension is not on the Chrome Web Store, you need to install it manually (Developer Mode):
- Download or clone this repository to your computer.
- Open Google Chrome and type
chrome://extensionsin the address bar. - In the upper right corner, enable "Developer mode".
- Click the "Load unpacked" button.
- Select the
discord-translator-extensionfolder where the files were saved. - The extension will be installed and the icon will appear in the Chrome toolbar.
- Open Discord Web in Chrome.
- Click the extension icon in the toolbar.
- Select the language you want to translate to (e.g., "Portuguese").
- Turn on the "Translate" switch.
- Click "Save Settings".
- Messages in the chat will start being translated automatically.
- The extension uses the public Google Translate API. Excessive use may cause temporary IP blocks by the API.
- If Discord’s layout changes significantly, the extension may require updates to the CSS selectors (
content.js).
manifest.json: Extension configuration.popup.html/js/css: Configuration interface.content.js: Script that runs on the Discord page to read and modify the DOM.background.js: Background script to make API calls (avoiding CORS issues).