返回首頁 

Greasy Fork is available in English.

Traducteur externe Twitter

Ajout de traducteurs tiers à Twitter

Version au 15/03/2021. Voir la dernière version.


Installer ce script?
Auteur
magicoflolis
Notes
000
Version
0.11
Créé
12/02/2021
Mis à jour
15/03/2021
Taille
20,5 ko
Licence
N/A
S'applique à

Twitter External Translator

This is was fork of DeepL Twitter translation


Stable:

  • Click Install on top

Beta:

Hosted on GitHub, disable stable if installed!


Adds a "Translate with ..." button to tweets and bios.

The old script would duplicate on scroll when combined with Twitter image viewing enhancement, this aims to fix that! I've also reworked the code to fit modern Javascript.

Features:

  • Configure how you wish (Reload page when settings are changed)
  • Translate Tweets and user Bio.
  • Multiple translators!
  • Translations can now be set to your preferred language!
TranslatorsSupported
DeepL Translate✔️
Yandex Translate✔️
Bing Microsoft Translator✔️
Google Translate✔️
Translate.com✔️

Twitters built-in translation uses Google, I added Google Translate to redirect to the full translate.google.com page.

Roadmap

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

Bugs / Issues

  • "Translate with ..." button can rarely appear while in Quote Tweet dialog.
  • Yandex Translate may default to Russian.
  • [v0.8 - lower] NEED to be reinstalled(remove script) in order to get updates!!! This is due to renaming and moving the script to my GitHub.
  • Settings require manual edit.
// Don't worry it's on top, hard to miss!let cfg = {/** @type {'en'|'zh'|'nl'|'fr'|'de'|'it'|'ja'|'pl'|'pt'|'ru'|'es'} */lang: `en`, // Preferred language/** @type {'deepl'|'yandex'|'bing'|'google'|'translate'} */translator: 'bing', // Preferred translator, lowercase only!/** @type {'text'|'icon'|'text + icon'} */display: 'text + icon', // Preferred display choice.};

Contacts

Github

Twitter

Greasy Fork