Twitter External Translator

Adds 3rd party translators to Twitter.

目前为 2021-03-13 提交的版本。查看 最新版本

脚本作者
magicoflolis
得分
0 0 0
版本
0.9
创建日期
2021-02-12
最近更新
2021-03-13
许可证
暂无
应用到

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!
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.

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.
  • [v0.72 - lower] NEED to be reinstalled(remove script) in order to get updates!!! This is due to renaming and moving the script to my GitHub.
  • [v0.8 - v0.9] 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', // Your preferred language
        /** @type {'deepl'|'yandex'|'bing'|'google'|'translate'} */
        translator: 'deepl' // Your preferred translator, lowercase only!
    };

Contacts

Github

Twitter

Greasy Fork