Twitter External Translator

Adds 3rd party translators to Twitter

Tính đến 23-03-2021. Xem phiên bản mới nhất.

Tác giả
magicoflolis
Đánh giá
0 0 0
Phiên bản
0.16
Đã tạo
12-02-2021
Đã cập nhật
23-03-2021
Giấy phép
N/A
Áp dụng cho

Twitter External Translator

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

This was a fork of DeepL Twitter translation


Stable:

  • Click Install on top

Beta:

Hosted on GitHub, disable stable!


Features:

  • Now works with TweetDeck LIMITED only tweets!
  • Multiple translators!
  • Translate Tweets and User Bio.
  • Can be configured requires reload.
//#region Config
/**
 * Need to edit the config manually
 */
let cfg = {
    /** Preferred language
    * @type {'en'|'zh'|'nl'|'fr'|'de'|'it'|'ja'|'pl'|'pt'|'ru'|'es'} */
    lang: ('en'),
    /** Preferred translator, lowercase only!
    * @type {'deepl'|'yandex'|'bing'|'google'|'mymemory'|'translate'} */
    translator: ('deepl'),
    /** Preferred display
    * @type {'text'|'icon'|'text + icon'} */
    display: ('text + icon'),
};
//#endregion

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

Translators Supported
DeepL Translate ✔️
Yandex Translate ✔️
Bing Microsoft Translator ✔️
Google Translate ✔️
MyMemory ✔️
Translate.com ✔️

Bugs / Issues

  • May not load all the time reload page
  • "Translate with ..." button can rarely appear while in Quote Tweet dialog.
  • Yandex Translate may default to Russian.
  • [v0.11 - lower] NEED to be reinstalled(remove script) in order to get updates!!! This is due to renaming and moving the script to my GitHub.

Roadmap

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

Contacts

Github

Twitter

Greasy Fork