Skip to content

Implement Mozhi API for translation

Volk Milit requested to merge mozhi-support into master

This MR is changin all translation API hacks to using Mozhi service.

Implementation notes:

  • For some reason, Mozhi doesn't support Yandex TTS, even throught Yandex is support TTS;
  • Mozhi doesn't support speech types, even throught Google and Yandex is fully supported it (so I improvise for now);
  • Mozhi doesn't support speech syntesis (voice and emotions), even throught Google supports it;
  • Lingva and Libre support was removed, none of the public instances fully works, and often dies, anyway;
  • As for now, Mozhi supports DuckDuckGo (Bing clone, basically, as DDG uses Bing as backend), DeepL, Reverso and MyMemory.

Also, we need to figure out limits (Mozhi docs doesn't point on this) and languages codes.

Despite all the disadvantages, Mozhi is pretty fast.

Edited by Volk Milit

Merge request reports