Mastodon Translate

Provides a translate toot option for Mastodon users via Google Translate. Works with Mastodon 3.2.1

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
umonaca
今日安裝
0
安裝總數
169
評價
1 0 0
版本
1.23.0
建立日期
2020-10-29
更新日期
2020-10-29
尺寸
8.0 KB
授權條款
未知
腳本執行於

This script provides a translate toot option for Mastodon users via GoogleTranslate. Works with Mastodon 3.2.1.

It adds a drop down menu option to any toot, so that by clicking the "translate" you can translate any toot into your language.

If "Translate toot" does not appear, try refresh the page, or edit the "match" line to the addresses of your favourite instances.

By default, the target language is English. To change this behaviour, go to settings page. At the beginning of the page, you will see a "Translation language" option. You can set your target language here.


About the code:
It's forked from [email protected]'s original version. The original script/repo is no longer maintained, so I fixed the code to make it compatible with Mastodon 3.2.1. The translation goes through tomo's open source proxy at https://translate.uchuu.io/ . Source code of the proxy is available at https://github.com/tomouchuu/mastodon-translate.

Known issue:
This script should work for TamperMonkey/ViolentMonkey on Chrome, and ViolentMonkey/GreaseMonkey on Firefox.
If it doesn't work for Tampermonkey + Firefox, try ViolentMonkey or GreaseMonkey for Firefox instead.

If you have any suggestions, feel free to submit an issue at https://github.com/umonaca/mastodon-translate/issues