Open AnisTaluqdar opened 1 year ago
As long as there is no reasonable way to do something like this with FOSS-only components, no.
(I'm not really motivated to look into it if there is a feasible FOSS-approach, but I guess I can make this open-for-contributions though)
Possible FOSS alternatives:
https://github.com/thedaviddelta/lingva-translate
translation shouldn't be part of the client, there are bots that do this and can be added to rooms to assist with translation.
Hosting a translation service on SchildiChat servers is out-of-scope for us. If we'd add something that requires server access, I may only accept it if:
Anyways, since I'm not interested in maintaining such feature, I'd probably only accept something with a low code footprint, e.g. by use of some well maintained library and/or APIs to query (maybe there's something similar to how UnifiedPush allows you to choose a distributor?).
what about https://libretranslate.com/ ? Is still self hosted?
or maybe https://github.com/thedaviddelta/lingva-translate or this https://github.com/crow-translate/crow-translate
For single message translation I think Lingva would be a good option, the API key could be added/edited in Schildi settings. For full automatic chat translation, then probably a bot is a better idea, and riskier too.
If you can add the Google Translate service it will be amazing as https://imem.app/ they add for telegram client.
It's really helpful when it comes to chatting with outside the world who don't know English.