Added translations support to Iris. You can find it in the message dropdown. It translates to your browser's language or the language you've chosen in settings.

Clicking from the dropdown is not the best flow, but I didn't want to add "translate" button to all posts or run all posts through the translator. I tried some language-detection javascript, but it sucked.

How should it work?

Reply to this note

Please Login to reply.

Discussion

It uses the libretranslate API on my vps.

What’s the backing translation service?

Libretranslate

The quality doesn't seem super good — might have to change to some big tech service 😬

I’ve found the same issues with Damus’ integration. DeepL seems to be the best, even better than Google Translate. But it’ll cost you. Might take a hybrid approach on Damus where the user can choose between LibreTranslate and some closed proprietary service.

nooo...plz. afa chinese is concerned (and many other no latin based languages), they all suck...even big tech translate. that's why with chinese (for example) people pay for pleco app. coming from a floss/infosec dev, it would be really, really cool if privacy was retained with translation. thx for the consideration

I could add the choice of translation service in settings like Damus, and support also non-libretranslate options.

🙏🏽 I love iris

should have an option to translate all posts automatically