Skip to content

v2.0

Compare
Choose a tag to compare
@Animenosekai Animenosekai released this 25 Jul 23:51
· 138 commits to main since this release

New release for translatepy!

translatepy v2.0

We did a lot of work to bring v2 with @ZhymabekRoman !

Here are the features we brought into v2:

New

  • Code Refactor
  • Interactive Mode (shell)
  • Access from other languages through the JSON-formatted CLI access
  • Proxy Management
  • New language management
  • Google Service URL parameter
  • Exceptions
  • Requests Management
  • New Tests (CI)
  • New Cache management (LRU)
  • Results Models
  • Plugins
  • LibreTranslate, MyMemory and Translate.com now come built-in with the already existing Bing Translate, DeepL, Google Translate, Reverso and Yandex Translate
  • Documentation

… and other

Fixes

A lot of fixes have been made for greater performance and stability.

Some translators have been updated and fixed such as DeepL, Google, Reverso… (although we are trying to fix Bing, it seems to change quite a lot)

Important

Be aware that this is a breaking update.

Any code that was written with translatepy v1.7 and before can be broken if translatepy v2 is installed (at the high level, Translator (who is renamed internally as Translate) for example doesn’t have the use_google, use_yandex, etc. parameters anymore as they got replaced by the services_list parameter)

Also, this version will raise exceptions if something goes wrong, as explained in the README.