Greasy Fork is available in English.
Ajout de traducteurs tiers à Twitter
Version au
This is was fork of DeepL Twitter translation
Stable:
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.
Translators | Supported |
---|---|
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.
// 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.};