Twitter External Translator

Adds 3rd party translators to Twitter

As of 03.05.2021. See ბოლო ვერსია.

ავტორი
magicoflolis
რეიტინგი
0 0 0
ვერსია
0.18
შექმნილია
12.02.2021
განახლებულია
03.05.2021
ლიცენზია
პ/გ
გამოყენებს მათ

Twitter External Translator

Adds a "Translate with ..." button to Tweets and User Bios.

This was a fork of DeepL Twitter translation


Stable:

Hosted here, disable beta!

Beta:

Hosted on GitHub, disable stable!


Features:

  • Works with TweetDeck. 1
  • Multiple translators!
  • Translate Tweets and User Bio.
  • Can be configured. 2
Translators Supported
DeepL Translate ✔️
Yandex Translate 3 ✔️
Bing Microsoft Translator 4 ✔️
Google Translate 4 ✔️
MyMemory ✔️
Translate.com ✔️

Roadmap

  • Fix any bugs along the way
  • Add more external translations
  • Make config easier
  • Show multiple translators at once
  • Inline?
  • TweetLonger?

Bugs / Issues

  • "Translate with ..." button can rarely appear while in Quote Tweet dialog.

Footnotes:

1: Only appears in one column, User Bios not supported.

2: Reload webpage.

/**
 * You'll need to edit the config manually for now if you're using this
 * as a user script.
 */
let cfg = {
    /** Preferred translator, lowercase only!
    * @type {'deepl'|'yandex'|'bing'|'google'|'mymemory'|'translate'} */
    translator: ('deepl'),
    /** Preferred display
    * @type {'text'|'icon'|'text + icon'} */
    display: ('text + icon'),
    iconWidthA: '16', // Twitter
    iconWidthB: '14', // TweetDeck
    debug: false
};

3: Yandex Translate may default to Russian.

4: Twitters built-in translation uses Google Translate, TweetDeck uses Bing Microsoft Translator.

Contacts

GitHub

Twitter

Greasy Fork