humhub / translator-issues

NonFree Module - Issue Tracker Only
0 stars 0 forks source link

Add support for Libretranslate #5

Closed samuk closed 2 weeks ago

samuk commented 1 year ago

https://libretranslate.com/ seems to be improving to the point it's usable. Could this be added?

dvn0 commented 5 months ago

This library may be useful: https://github.com/jefs42/libretranslate

Would love to help contribute to this, but since it's closed-source all we can do is "throw things over the fence".

dvn0 commented 4 months ago

To provide a bit of information on the ostensible motivation for this feature request, for posterity:

LibreTranslate is a free software project that implements a language translation server which is self-hostable, and has a well document and standard REST API. This should not be particularly difficult to implement as an additional translation service backend to the Translator plugin. Since LibreTranslate can be self-hosted, this allows you to keep your HumHub posts and comments private within your own domain, instead of sending them to a 3rd party (such as DeepL or Google Translate).

samuk commented 4 months ago

Annoying that the licensing is a barrier to contribution here, particularly as a paid subscriber to the translate plugin. @luke- might you be able to give @dvn0 access to the repo under NDA or similar?

luke- commented 4 months ago

@samuk @dvn0 Thank you for your interest in integrating a new driver here.

Please send an e-mail to hello@humhub.com - we can then provide the GIT files or repo access.

dvn0 commented 4 months ago

Thanks for following up. I sent an email yesterday.

samuk commented 4 months ago

If you need access to a libretranslate instance I could probably give access to ours, I imagine you already have access to one?

dvn0 commented 4 months ago

Thanks @samuk. I'll let you know if I need that. May be helpful indeed, thanks! Waiting to hear back from the HumHub team, in the meantime.

dvn0 commented 3 months ago

@luke- I'm sorry, I missed the notification for your invite. Can you resend?

luke- commented 3 months ago

@dvn0 No problem, I've just resend the invite.

dvn0 commented 3 months ago

I've implemented a LibreTranslate driver, and @luke- made a new release which should be arriving in the marketplace at some point.

luke- commented 3 months ago

There is a problem with the deployment right now. However, the version should be available soon.

samuk commented 3 months ago

Nice! Looking forward to it

dvn0 commented 2 weeks ago

AFAIK this was released back in May. See: https://marketplace.humhub.com/module/translator/changelog

The LibreTranslate support is not mentioned in the description of the module, but despite that I think this module could be closed.

luke- commented 2 weeks ago

@dvn0 Thanks for the hint. The updated translation is available with the next release.