adam.paste.lol / mastodon-translations.md · 1 year ago·
Enabling automatic translation in your Mastodon v4 instance
-
Sign up on DeepL. They have a free plan, though they will collect your credit card information to prevent abuse (which is totally understandable).
-
Visit your DeepL account page and copy your Authentication Key from the section at the bottom of the page. It’ll be a long series of characters.
-
On your Mastodon server, open up your
.env.production
file and add these lines:DEEPL_API_KEY=[the key that you copied above] DEEPL_PLAN=free
-
Save the file, and then restart Mastodon:
$ systemctl restart mastodon-*
You’re all set! Toots in other languages will now display a “Translate” link.