Adds external & internal translators to various sites.

Overview

Twitter External Translator

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

This was a fork of DeepL Twitter translation


Version Link Alternative Note
Stable Install [GitHub] Greasy Fork Recommended version.
Legacy Install [GitHub] - For incompatibility issues.

Preview
Menu Preview

What's New

Please check the Bugs / Issues or contact me for any issues! If this update is causing you problems, revert to previous version.

Features:

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

  • [ Script ] Support for External & Internal Translators!
  • [ Menu ] Config Menu!
  • [ Menu ] Multiple language support!
  • [ Menu ] Support for matching Twitter colors
  • [ Menu ] Support for matching Twitter theme
  • [ Site ] Support for TwitLonger
  • [ Site ] Support for TweetDeck
  • [ Site ] Support for every Nitter
  • [ Script ] Now works while logged out!
  • [ Script ] Added "Restore to Defaults" button.
  • [ Site ] Added mobile.twitter.com
  • [ Menu ] Will automatically default to current sites theme.
  • [ Menu ] Will automatically select the current language of the site.
  • Each [ WIP ] is functional.
  • [ WIP ] Every theme can be applied to any site!
  • [ WIP ] Added help for each menu item.
  • [ WIP ] Reworked the menus CSS.

Supported Translators:

Translator External Internal
Bing Microsoft Translator ✔️ -
DeepL Translate ✔️ ✔️
Google Translate ✔️ ✔️
LibreTranslate - ✔️
Lingva Translate ✔️ ✔️
MyMemory ✔️ ✔️
Translate.com ✔️ -
Yandex Translate ✔️ -

Wiki

Bugs / Issues

  • [ User Script ] May conflict with Magic Userscript+ : Show Site All UserJS.
  • [ Script ] Sometimes "Translate tweet" won't appear on Twitter. (Clicking a picture and opening the right sidebar to view the Tweet & Replies)
  • [ Translator ] MyMemory API doesn't work in Bios.
  • [ Menu ] Cannot be moved or disabled. ( WIP )

Footnotes:

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

Roadmap

  • Fix any bugs along the way.
  • Automatically match Twitter colors.
  • Show multiple translators at once.

Source Code

Contacts

GitHub

Twitter

Greasy Fork

You might also like...

Hadmean is an internal tool generator. It is language agnostic, schema driven, extremely customizable, featured packed, user-friendly and has just one installation step.

Hadmean is an internal tool generator. It is language agnostic, schema driven, extremely customizable, featured packed, user-friendly and has just one installation step.

Hadmean Report a Bug · Request a Feature · Ask a Question Table of Contents About Quick Demo Motivation Why you should try Hadmean Getting Started Pre

Dec 29, 2022

A simple browser extension, intended to get you "Back To Work" when you start slacking off to one of those really addictive sites.

Back to Work A simple browser extension, intended to get you Back To Work when you start slacking off to one of those really addictive sites. What doe

Nov 19, 2022

Markdoc is a Markdown-based syntax and toolchain for creating custom documentation sites and experiences.

Markdoc is a Markdown-based syntax and toolchain for creating custom documentation sites and experiences.

A powerful, flexible, Markdown-based authoring framework. Markdoc is a Markdown-based syntax and toolchain for creating custom documentation sites and

Jan 2, 2023

Superkeys allow users to add short keys for websites and make search query in those sites.

Superkeys allow users to add short keys for websites and make search query in those sites.

Superkeys is a browser extension which allow users to add short keys for websites and make search query in those sites. Made with ❤️ @nilooy 🧑‍💻 Dem

Aug 17, 2022

The most advanced responsive front-end framework in the world. Quickly create prototypes and production code for sites that work on any kind of device.

The most advanced responsive front-end framework in the world. Quickly create prototypes and production code for sites that work on any kind of device.

Install | Documentation | Releases | Contributing Foundation is the most advanced responsive front-end framework in the world. Quickly go from prototy

Jan 4, 2023

This is a Google Chrome Extension which blocks social media sites.

This is a Google Chrome Extension which blocks social media sites.

Social Media Blocks (1.0.3) This is a Google Chrome Extension which blocks social media sites like Twitter: Facebook, Instagram, LinkedIn, WhatsApp, R

Dec 15, 2022

A blazingly fast router for static sites

Flamethrower 🔥 Status: Meme A 2kB zero-config router and prefetcher that makes a static site feel like a blazingly fast SPA. Why? Problem: Static sit

Dec 26, 2022

Build Schema.org graphs for JavaScript Runtimes (Browser, Node, etc). Improve your sites SEO with quick and easy Rich Results.

schema-org-graph-js The quickest and easiest way to build Schema.org graphs for JavaScript Runtimes (Browser, Node, etc). Status: 🔨 In Development Pl

Dec 21, 2022

Statichunt is a free open-source Jamstack directory that lists hundreds of themes, starters, and resources for Jamstack sites.

Statichunt Statichunt is an open-source directory that enlists hundreds of themes, starters, and resources for static site generators submitted by the

Dec 29, 2022
Comments
  • DeepL internal translator not working

    DeepL internal translator not working

    Hi, DeepL internal translator seems to not work, despite the fact that I added my free api. It always shows "undefined" when trying to translate.

    image

    image

    I'm using Vivaldi Browser 5.4.2753.51 (Stable channel) (64-bit), it's a Chromium-based browser. For the OS, I'm using Windows 10 Version 21H2 (Build 19044.2006).

    opened by ccrowles 2
Releases(2.5.1)
  • 2.5.1(Sep 21, 2022)

  • 1.5.1(Aug 22, 2022)

  • 1.5.0(Aug 22, 2022)

    What's New

    • Fixed Hover card may crash Twitter when opened in sidebar.
    • Switched to Semantic Versioning
    • UserJS will now @run-at document-body.
    • UserJS can now use GM_* or GM.*
    • Improved overall file size from ~487 KB down to ~113 KB.
    • Improved CSS.
    • Reduced unused HTML elements from the menu.
    • Reworked favicon injections.

    Favicons will now be fetched from UserJS GitHub repository, then formatted to a DataURL, previous versions have the DataURLs embedded in the UserJS.

    In addition, favicons will be fetched using jsdelivr, this may be changed to GitHubs default "raw.githubusercontent.com" or any other preferred method.

    ghCDN = 'https://cdn.jsdelivr.net/gh'; // Can be founded near the start, Feel free to change this URL
    

    BUGS/ISSUES:

    • Internal Translations for User Bios may not load on TweetDeck.
    • Auto Theme + Auto Color may not work on Chromium based browsers.
    • [Logged out] Duplicate "Translate with..." injections may occur while on a users profile page.
    • [Translators] Azure Cognitive Services is not implemented.
    • [Translators] Translation API is UNTESTED.
    • [Translators] Yandex API is UNTESTED.
    Source code(tar.gz)
    Source code(zip)
    twittertranslator.user.js(112.61 KB)
  • 0.40(Aug 6, 2022)

    What's New

    • Fixed TweetDeck theme on Nitter when "Use website theme" is enabled.
    • Mobile and touch support! (mobile tested with android emulator, Firefox Nightly and Tampermonkey)
    • Improved CSS.
    • Misc tweaks.
    • Add search commands:

    Supported Commands:

    • "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 open config menu
    https://twitter.com/messages/?tetopen
    
    // Can be chanined
    https://twitter.com/?tetrestore&tetopen&tetdebug
    
    

    BUGS/ISSUES:

    • Auto Theme + Auto Color may not work on Chromium based browsers.
    • [Logged out] Duplicate "Translate with..." injections may occur while on a users profile page.
    • [Translators] Azure Cognitive Services is not implemented.
    • [Translators] Translation API is UNTESTED.
    • [Translators] Yandex API is UNTESTED.
    Source code(tar.gz)
    Source code(zip)
    twittertranslator.user.js(476.82 KB)
  • 0.39(Aug 6, 2022)

    What's New

    [Recommended] "Restore to Defaults" if updating.

    • Automatically match websites accent color.
    • Automatically match websites theme.
    • Better TweetDeck theme and accent color support!
    • Overhauled "Translate with..." injection (again)
    • Works while logged out (again)
    • Improved internal translations.
    • Added new option "Use website theme" -- this disables automatically matching website themes and colors (Twitter not supported)
    • Fixed [v0.34 - 0.38] No translate button on twitter (I hope)
    • Removed Help menu
    • Added loading indicator for internal translators.

    BUGS/ISSUES:

    Developed/tested with Firefox Beta + Violentmonkey

    • Auto Theme + Auto Color may not work on Chromium based browsers.
    • [Theme] TweetDeck theme may not work on Nitter when "Use website theme" is enabled.
    • [Logged out] Duplicate "Translate with..." injections may occur while on a users profile page.
    • [Translators] Azure Cognitive Services is not implemented.
    • [Translators] Translation API is UNTESTED.
    • [Translators] Yandex API is UNTESTED.
    Source code(tar.gz)
    Source code(zip)
    twittertranslator.user.js(476.20 KB)
  • 0.38(May 21, 2022)

  • 0.37(May 17, 2022)

  • 0.36(May 17, 2022)

    What's New

    "Restore to Defaults" if using "Internal Translator > DeepL"

    • Huuuge update
    • Rewrote most of the User Script
    • No longer requires JQuery 👍
    • Now supports Twitter hover cards
    • Works while logged out ...again
    • Fixed DeepL API preview ( url customization not supported yet )
    • Fixed colors not working while on TweetDeck
    • Improved internal text translations
    • Overhauled "Translate with..." injection
    • Made original "Translate Tweet" width smaller to prevent an accidental click
    • Improved CSS
    • Serveral other bug fixes

    USE PREVIOUS VERSION IF UNSTABLE

    Source code(tar.gz)
    Source code(zip)
    twittertranslator.user.js(474.78 KB)
  • 0.35(Apr 12, 2022)

  • 0.34(Apr 10, 2022)

    What's New

    "Restore to Defaults" if updating.

    • DeepL API will still return "Preview Disabled"
    • Support for multiple bios / tweets on Twitter!
    • Support for multiple bios / tweets on TweetDeck!
    • Support for multiple bios / tweets on Nitter!
    • [ Advanced Config ] Added "Delay Injection"

    Allows user to specify when "Translate with ..." button will be injected.

    Example: 2000ms => Button will be injected after a 2 second delay every time.

    Useful when on legacy hardware.

    Source code(tar.gz)
    Source code(zip)
    twittertranslator.user.js(469.19 KB)
  • 0.33(Feb 6, 2022)

  • 0.32(Jan 4, 2022)

    What's New

    "Restore to Defaults" if updating.

    • Added more nitter instances.
    • Added "Advanced Config"
    • Added "Help" menu.
    • Added link to GitHub page.
    • Removed many unused Classes.
    • Overhaul of CSS.
    • Nitter colors will now match the current Nitter instance.
    • Logs are now colored.
    • [ Experimental ] Multi-line support for TweetDeck.
    • UI tweaks.
    • Bug fixes.
    Source code(tar.gz)
    Source code(zip)
    twittertranslator.user.js(462.85 KB)
  • 0.31(Dec 20, 2021)

Owner
Magic
Certified Professional
Magic
⚡ Archive of all Zotero Translators co-created by participants of the Information Analysis course in 2018 to date.

awesome-translators 1. awesome-translators 维护小组 1.1 Translators 更新流程 1.2 Zotero 安装流程 1.3 Zotero 进阶资料 2. Translators 2.1 Translators 总览表 2.2 Translator

开智学堂 99 Dec 30, 2022
Chrome extension for replacing addictive and annoying features of various social media sites with inspirational quotes.

Saner Social Media Chrome extension for replacing addictive and annoying features of various social media sites with inspirational quotes. Saner Socia

Tobi Dalhof 9 Oct 4, 2022
This Plugin adds shortcodes with various prewritten phrases to improve quality and productivity of your writing.

Obsidian Phrasebank This Plugin adds shortcodes with various prewritten phrases to improve quality and productivity of your writing. Example :intro_pr

Viktor Bezdek 9 Jan 1, 2023
This project will be using various AI and Rule Engine algorithm to detect various attack against a company!

?? Introduction This project will be using various AI and Rule Engine algorithm to detect various attack against a website! ?? Mission After starting

Harish S.G 4 Apr 29, 2022
At BlackBox Vision we use heavily React Admin to build internal systems for our clients.

?? RA Firebase Starter ?? At BlackBox Vision we use heavily React Admin to build internal systems for our clients. Also, we rely on firebase a lot for

BlackBox Vision 2 Jun 7, 2022
macOS Internal Webview App SourceCode

macOS Internal Webview App SourceCode Read First Inspecting Web Views in macOS System Preferences Family Sharing wget https://setup.icloud.com/resourc

不郑 4 Mar 7, 2022
ToolJet an open-source low-code framework to build and deploy internal tools quickly without much effort from the engineering teams

ToolJet is an open-source low-code framework to build and deploy internal tools quickly without much effort from the engineering teams. You can connect to your data sources, such as databases (like PostgreSQL, MongoDB, Elasticsearch, etc), API endpoints (ToolJet supports importing OpenAPI spec & OAuth2 authorization), and external services (like Stripe, Slack, Google Sheets, Airtable) and use our pre-built UI widgets to build internal tools.

ToolJet 15.6k Jan 3, 2023
A crawler that crawls the site's internal links, fetching information of interest to any SEO specialist to perform appropriate analysis on the site.

Overview ?? It is a module that crawls sites and extracts basic information on any web page of interest to site owners in general, and SEO specialists

Yazan Zoghbi 2 Apr 22, 2022
A crawler that crawls the site's internal links, fetching information of interest to any SEO specialist to perform appropriate analysis on the site.

Overview ?? It is a module that crawls sites and extracts basic information on any web page of interest to site owners in general, and SEO specialists

Yazan Zoghbi 2 Apr 22, 2022
Windmill: Open-source platform and runtime to turn any scripts into internal apps, integrations and workflows

. Open-source and self-hostable alternative to Airplane, Pipedream, Superblocks and a simplified Temporal with autogenerated UIs to trigger flows and

Windmill Labs, Inc 1.6k Jan 4, 2023