Greasy Fork is available in English.

Mastodon Translate

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

Stan na 29-10-2020. Zobacz najnowsza wersja.

Autor
umonaca
Oceny
0 0 0
Wersja
1.23.0
Utworzono
29-10-2020
Zaktualizowano
29-10-2020
Licencja
Brak licencji
Dotyczy

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 tomo@uchuu.io'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.