Open-Assistant icon indicating copy to clipboard operation
Open-Assistant copied to clipboard

Translating messages in the browser for moderators

Open AbdBarho opened this issue 2 years ago • 2 comments

Similar to how twitter / amazon shows a translate button on posts and comments, this feature could be implemented in our moderation dashboards to make it easier to moderate message from other languages.

Questions:

  • what services are there to solve this problem?
  • Cost?

AbdBarho avatar Feb 25 '23 17:02 AbdBarho

I think a great tool for this is LibreTranslate APIs are well documented and easy to use: https://libretranslate.com/docs/ Docker image: https://hub.docker.com/r/libretranslate/libretranslate

No need for internet conection, language model can be downloaded with the image itself

ArgiesDario avatar Feb 27 '23 22:02 ArgiesDario

Thanks @ArgiesDario,

I tried it locally and it works fine, the translations are not perfect but probably good enough.

The only problem I see is that it is very CPU intensive, which will take away from other resources deployed on our server.

AbdBarho avatar Mar 01 '23 20:03 AbdBarho