Giter Site home page Giter Site logo

itagagaki / deepl-selected-text Goto Github PK

View Code? Open in Web Editor NEW
7.0 2.0 5.0 50 KB

Translate selected text with DeepL

Home Page: https://github.com/itagagaki/DeepL-Selected-Text

Makefile 2.03% JavaScript 62.48% HTML 35.49%
thunderbird-addon thunderbird-extension deepl

deepl-selected-text's Introduction

DeepL-Selected-Text

Translate selected text with DeepL

Overview

This extension for Thunderbird 68+ adds a "Translate with DeepL" item to the context menu. When you select text and use it, a tab will open up, and it will translate the text for you at DeepL. You can also use Ctrl+T or Ctrl+Shift+X to translate.

You can also choose to have it open in a new window instead of a tab. Please set it in the options page. In the options page, you can also specify the language of the source and target texts.

How to open the options page

  1. Click the menu button and click Add-ons, or select Tools > Add-ons from the menu bar.
  2. Click the three-dot button on "DeepL selected text" and select Options, or click "DeepL selected text" and click Options.

Notes

Depending on the version of Thunderbird, the "Translate with DeepL" item may not appear in the context menu after installing this extension. In that case, please restart Thunderbird once.

概要

Thunderbird 68+用のこの拡張機能は、コンテキストメニューに「DeepLで翻訳」の項目を追加します。テキストを選択してそれを使用するとタブが開き、DeepLでテキストを翻訳します。Ctrl+T または Ctrl+Shift+X で翻訳することもできます。

タブではなく新しいウィンドウで開くようにすることもできます。 オプションページで設定して下さい。 オプションページでは原文と訳文の言語を指定することもできます。

オプションページの開き方

  1. メニューボタンをクリックして アドオン を選択するか、メニューバーから ツール > アドオン を選択してください。
  2. 「DeepL翻訳」の3点ボタンをクリックし、オプション を選択するか、「DeepL翻訳」をクリックして オプション をクリックしてください。

ご注意

Thunderbirdのバージョンによっては、この拡張機能をインストールしてもコンテキストメニューに「DeepLで翻訳」の項目が現れない場合があります。 その場合は一度Thunderbirdを再起動してください。

deepl-selected-text's People

Contributors

itagagaki avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

deepl-selected-text's Issues

Selected text not pasted into DeepL window/tab

Hi itagagaki,
I think your add-on needs a fix: The text selected for translation appears to be transferred to DeepL but is not displayed there, nor is the translation.
Best regards,
DenB

Not an issue but a proposal

A few days ago, I wrote on ATN a review for your add-on to say how good I thought it was and to give you some suggestions for improvement.
You have since made some of these improvements and I am grateful for that. Also, I offer you my contribution with its translation in French that you can integrate if you are interested of course. You can find it here: https://we.tl/t-NiHBsrNovi
Greetings from France,
DenBar

Keyboard shortcut issues

According to a review on ATN, the Ctrl+T keyboard shortcut doesn't work in the German version of Thunderbird because of a conflict.

does not work in Thunderbird 102.13.* anymore

unfortunately the addon no longer works in thunderbird 102.13.*.
Numerous error messages appear in the error console. It would be nice to fix the addon again.

These are the errors:

19:41:17.801 TypeError: PrecompiledScript.executeInGlobal: Argument 1 is not an object. ExtensionContent.jsm:574:25
19:41:19.353 TypeError: r is null translator_late.min.$4e2dab.js:44:688844
19:41:22.730 sendRemoveListener on closed conduit [email protected] 2 ConduitsChild.jsm:112

Texts are not fully recognized

Hello Itagaki,

It's been a while after the new release that I noted that text selection and hitting the "Translate with DeepL" doesn't work properly. It sends either a space character (" ") to the translate from box, or the selected text partially (not sure if it helps but I observed that the text will break after the first occurrence of special characters; what is before that is sent for translation but the rest omitted).

I'd be happy to send you extra information that may help to find the reason. Although I might need your help to retrieve logging files or of that kind.

My system info

  • OS: Ubuntu 18.04.5 LTS
  • Thunderbird: 78.8.1 (64-bit)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.