fluxsocial / junto-mobile

The Junto cross-platform mobile app
https://junto.foundation/
Mozilla Public License 2.0
33 stars 3 forks source link

Content translator #1146

Open tlalokyang opened 3 years ago

tlalokyang commented 3 years ago

@fayeed would be great if you could weigh out the best options for in-app content translators and start implementing this

fayeed commented 3 years ago

@sunyatax Does this mean user-generated content right?

fayeed commented 3 years ago

Went through some of the popular API, that are available, here's the list:

  1. Google Translate API: Description: Provides simple Rest API to translate text. Pricing: 20$ per million characters.

  2. Azure Translate API: Description: Provides simple Rest API to translate text and cheapest. Pricing: 10$ per million characters.

  3. Yandex Translate API: Description: Provides simple Rest API to translate text. Pricing: 15$ per million characters.

There is also a package available flutter called google-translator, the way it works is it scrapes the google translate website so it might be unstable.

We could also roll out our own ML models for language detection & language translation if that is an option, we could maybe find some prebuild models and use it.