DeepL Box: Translation history management

Save previous translations, show index, compare one by one, search by keyword, copy to clipboard and provide keyboard shortcut.

什么是DeepL Box: Translation history management?

DeepL Box: Translation history management是由Susumu OTA开发的Chrome扩展程序,该扩展的主要功能是“Save previous translations, show index, compare one by one, search by keyword, copy to clipboard and provide keyboard shortcut.”。

扩展截图

screenshot
screenshot

下载DeepL Box: Translation history management扩展crx文件

下载DeepL Box: Translation history management扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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.

## Usage

- Select text by mouse or keyboard.
- Press `Command-b` (macOS) or `Alt-b` (other OS).
  - Or right click to open context menu and choose `DeepL Translate`.
− Translation window will open.

## Settings

### Change keyboard shortcuts

- Open extensions setting page `chrome://extensions`.
- Open menu by clicking `hamburger button` "☰" (triple bar icon) on the left of `Extensions`.
- 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) or `Alt-b` (other OS).

### Change settings by popup dialog

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.

## Limitations

- 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](https://bugs.chromium.org/p/chromium/issues/detail?id=116429)

## TODO

- Support keyboard shortcut for local PDF files.

## Source code

https://github.com/susumuota/deeplbox

## Author

Susumu OTA                    

扩展基本信息

名称 DeepL Box: Translation history management DeepL Box: Translation history management
ID ompicphdlcomhddpfbpnhnejhkheeagf
官方URL https://chromewebstore.google.com/detail/deepl-box-translation-his/ompicphdlcomhddpfbpnhnejhkheeagf
简介 Save previous translations, show index, compare one by one, search by keyword, copy to clipboard and provide keyboard shortcut.
文件大小 426 KB
安装次数 305
当前版本 3.7.9
更新时间 2024-02-21
上架时间 2021-03-19
开发者 Susumu OTA
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/susumuota/deeplbox
帮助页面URL https://github.com/susumuota/deeplbox
支持的语言 en,ja
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "__MSG_extension_name__",
    "version": "3.7.9",
    "description": "__MSG_extension_description__",
    "author": "Susumu OTA",
    "homepage_url": "https:\/\/github.com\/susumuota\/deeplbox",
    "icons": {
        "16": "icons\/icon16.png",
        "32": "icons\/icon32.png",
        "48": "icons\/icon48.png",
        "128": "icons\/icon128.png"
    },
    "background": {
        "service_worker": "background.js"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/www.deepl.com\/translator",
                "https:\/\/www.deepl.com\/*\/translator"
            ],
            "js": [
                "deepl.js"
            ]
        },
        {
            "matches": [
                "https:\/\/*\/*.pdf",
                "http:\/\/*\/*.pdf",
                "https:\/\/arxiv.org\/pdf\/*",
                "https:\/\/openreview.net\/pdf?id=*"
            ],
            "all_frames": true,
            "js": [
                "pdf.js"
            ]
        }
    ],
    "action": {
        "default_icon": {
            "16": "icons\/icon16.png",
            "32": "icons\/icon32.png",
            "48": "icons\/icon48.png",
            "128": "icons\/icon128.png"
        },
        "default_title": "__MSG_extension_name__",
        "default_popup": "popup.html"
    },
    "commands": {
        "deepl-open": {
            "suggested_key": {
                "default": "Alt+B",
                "mac": "Command+B"
            },
            "description": "__MSG_open_command_description__"
        }
    },
    "permissions": [
        "commands",
        "contextMenus",
        "scripting",
        "storage"
    ],
    "host_permissions": [
        "http:\/\/*\/*",
        "https:\/\/*\/*"
    ],
    "default_locale": "en"
}