HD Translator is a browser extension for English-Vietnamese and Vietnamese-English dictionary lookup and translation.
HD Translator helps users read documents, learn English, and look up words quickly without switching between tabs. Users can open the dictionary in the browser side panel, select text on a webpage for quick translation, listen to pronunciation, and copy results when needed.
- Look up English-Vietnamese and Vietnamese-English words.
- Quickly translate selected text on webpages.
- Show a small inline translation popup next to selected text when auto translate is enabled.
- Open a full lookup interface in Chrome Side Panel or Firefox Sidebar.
- View meanings, English definitions, examples, synonyms, IPA, and pronunciation.
- Listen to pronunciation using available audio or browser speech.
- Copy words, examples, and translations.
- Switch the interface language between English and Vietnamese.
- Translate sentences in the search box using
.ve./.ev.prefixes.
- Node.js.
- Chrome or a Chromium-based browser that supports Manifest V3.
- Firefox, if you want to build the Firefox version.
This repository does not require any extra npm packages to build the extension.
Build the Chrome version:
node scripts/build-extension.js chromeThe output is created at:
dist/chrome
Build the Firefox version:
node scripts/build-extension.js firefoxThe output is created at:
dist/firefox
Build and create store upload zip files:
node scripts/build-extension.js chrome zip
node scripts/build-extension.js firefox zipThe zip files are created at:
dist/chrome-v1.3.zip
dist/firefox-v1.3.zip
The zip file names use the current manifest version. The zip files are created by the build script to avoid macOS hidden files such as .DS_Store, ._*, or __MACOSX.
- Build the Chrome version:
node scripts/build-extension.js chrome- Open Chrome and go to:
chrome://extensions
- Enable Developer mode.
- Click Load unpacked.
- Select this folder:
dist/chrome
- After installation, click the HD Translator icon on the toolbar to open the extension in the Side Panel.
- Build the Firefox version:
node scripts/build-extension.js firefox- Open Firefox and go to:
about:debugging#/runtime/this-firefox
- Click Load Temporary Add-on....
- Select this file:
dist/firefox/manifest.json
- After installation, open HD Translator from the Firefox toolbar or sidebar.
Note: Temporary Firefox add-ons are removed when the browser closes. Load the add-on again if you want to continue testing.
manifest.json: main Chrome MV3 manifest.manifest.chrome.json: manifest used for the Chrome build.manifest.firefox.json: manifest used for the Firefox build.src/pages: popup/sidebar interface.src/scripts: background script and content script.src/assets: CSS, JavaScript, icons, and UI libraries.scripts/build-extension.js: packages the extension intodist/chromeordist/firefox.- Add the
zipor--zipargument to create a clean store upload zip file indist.
- Author: Hadesker
- Email: hello@hadesker.net
This project is released under the MIT License. See LICENSE for details.


