Εξωτερικός μεταφραστής Twitter

Προσθέτει μεταφραστές 3ου μέρους στο Twitter

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey, το Greasemonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Violentmonkey για να εγκαταστήσετε αυτόν τον κώδικα.

θα χρειαστεί να εγκαταστήσετε μια επέκταση όπως το Tampermonkey ή το Userscripts για να εγκαταστήσετε αυτόν τον κώδικα.

You will need to install an extension such as Tampermonkey to install this script.

Θα χρειαστεί να εγκαταστήσετε μια επέκταση διαχείρισης κώδικα χρήστη για να εγκαταστήσετε αυτόν τον κώδικα.

(Έχω ήδη έναν διαχειριστή κώδικα χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Έχω ήδη έναν διαχειριστή στυλ χρήστη, επιτρέψτε μου να τον εγκαταστήσω!)

Δημιουργός
magicoflolis
Ημερήσιες εγκαταστάσεις
0
Σύνολο εγκαταστάσεων
7.661
Βαθμολογίες
11 3 2
Έκδοση
2.6.1
Δημιουργήθηκε την
12/02/2021
Ενημερώθηκε την
30/07/2023
Μέγεθος
100 KB
Συμβατότητα
Συμβατό με Firefox Συμβατό με Chrome Συμβατό με Opera Συμβατό με Safari Συμβατό με Edge
Άδεια
GPL-3.0
Εφαρμόζεται σε

Twitter External Translator

Adds "Translate with ..." to Tweet and User Bio on various sites. This originally was a fork of DeepL Twitter translation


Version Link Alternative Note
Stable Greasy Fork (GitHub) Install [Bug] Duplicate "Translate with ..." in Direct Messages (sometimes)

Preview
Menu Preview

Changelog

(GitHub) Full Changelog

Features

The menu and CSS have been compressed to reduce file size. Comments can be found under src/main.js on GitHub.

  • Support for External & Internal Translators!
  • Multi language Config menu!
  • Multi language Translator support!
  • Colors and themes can be customized.
  • Automatically match websites color, theme and language.
  • Supports mobile Twitter
  • Supports TwitLonger
  • Supports TweetDeck
  • Supports every Nitter
  • Support for multiple Bios / Tweets on websites!
  • Support for Twitter hover cards.
  • Support for Twitter & TweetDeck direct messages.
  • Works while logged out!
  • "Restore to Defaults" button.
  • document.location.search commands:

Supported Commands:

Using commands is optional.

  • "tetopen" -- Will force open config menu on page load.
  • "tetrestore" -- Will restore config to defaults.
  • "tetdebug" -- Force enable scripts console.log
https://<site>/?<command>

Examples:

Be sure to remove command(s) from url afterwards!

// Will force open config menu on page load.
https://twitter.com/messages/?tetopen

// Can be chanined
https://twitter.com/?tetrestore&tetopen&tetdebug

Supported

Translator External Website Internal
Bing Microsoft Translator link UNTESTED
DeepL Translate link
Google Translate link
LibreTranslate link
Lingva Translate link
MyMemory link
Translate.com link UNTESTED
Yandex Translate link UNTESTED

Documentation

FAQ:

While logged out, UserScript does not work on homepage?

  • UserScript does not run on login / sign up page, example: https://twitter.com/.
  • In addition, UserScript will search document.cookie for "twid" on Twitter and TweetDeck to determine if the user is logged in / out.

On mobile, how do you open the config menu?

  • "Menu" button is disabled / hidden on mobile, you can add '?tetopen' at the end of the url to force open config menu.
  • Be sure to close the menu to save your changes and remove '?tetopen' from the url to prevent menu from reopening.

Where does the UserScript store my API key?

  • API keys are storing in the webpages localStorage (localStorage.getItem("TETConfig")) and UserScripts storage.
  • NOTE: API keys are stored in plain text and not protected by any encryption!

Bugs / Issues

  • Duplicate "Translate with ..." in Direct Messages (sometimes)
  • Auto Theme + Auto Color may not work on Chromium based browsers.
  • [Translators] Azure Cognitive Services is not implemented.

Footnotes:

  • [ Translator ] Twitters built-in translation uses Google Translate, TweetDeck uses Bing Microsoft Translator.
  • [ Translator ] Yandex Translate may default to Russian. YandexHelp

Source Code

https://github.com/magicoflolis/twitter-translator

Contacts

Roadmap

  • Fix any bugs along the way.
  • Show multiple translators at once.
  • Support more translators.