A Google Chrome extension to manage DeepL translation history, e.g. save, indexing, compare, search, copy and open translation.
(Click on the image to open YouTube video)
This extension provides the translation history management which saves all of the previous translations, shows index of the translations, compares the source and translation sentences one by one, searches by keyword, copies to clipboard and prepares keyboard shortcut Command-b
(macOS) or Alt-b
(other OS) to translate.
There are 2 options to install DeepL Box. Chrome Web Store is convenient for all users. Source would be useful for developers.
- Install from here
- Open Terminal and type
# install latest stable version of Node.js and npm if needed
node -v # v18.14.2
git clone https://github.com/susumuota/deeplbox.git
cd deeplbox
npm ci
npm run build
- Open Chrome's extensions setting page
chrome://extensions
. - Turn
Developer mode
on. - Click
Load unpacked
. - Specify the dist folder
/path/to/deeplbox/dist
.
- Select text by mouse or keyboard.
- Press
Command-b
(macOS) orAlt-b
(other OS).- Or right click to open context menu and choose
DeepL Translate
. − Translation window will open.
- Or right click to open context menu and choose
- Open extensions setting page
chrome://extensions
. - Open menu by clicking
hamburger button
"☰" (triple bar icon) on the left ofExtensions
. - Click
Keyboard shortcuts
. - Click the pencil icon on the right of
Open DeepL page and send selected text
.
- Input key stroke. Default is
Command-b
(macOS) orAlt-b
(other OS).
You can change source/translation language and split on punctuation option by extension popup dialog.
- Click the DeepL Box icon
D
(if you "pinned" icon).
- Change settings by selections and buttons.
Source Language
specify the language of the text to be translated.Note: in most cases, DeepL automatically detects source language.
Target Language
specify the language into which the text should be translated.Splits on punctuation
may improve the readability of long text without newlines, such as PDF.
- Keyboard shortcut does not work for local PDF files. In that case, use context menu instead.
- When you use context menu, Chrome removes newlines from selected text because
info.selectionText
removes newlines. See Linebreaks/newlines missing from chrome.contextMenus selectionText
- Support keyboard shortcut for local PDF files.
- Detect paragraphs in PDF document (is there any convenient way?).
https://github.com/susumuota/deeplbox
Susumu OTA