Animenosekai Translate Versions Save

A module grouping multiple translation APIs

v2.3

2 years ago

New release for translatepy!

translatepy v2.3

New

  • Python 3.10 Support
  • New "Microsoft Translate" translation service

Fixes

  • Fixing Chinese with Google Translate
  • Fixing Chinese with DeepL
  • Fixing Reverso
  • Fixing Sindarin in Yandex
  • Fixing DeepL
  • Fixing some language similarity check ... and numerous other fixes

This is made possible thanks to all of the contributors ! ✨

Full Changelog: https://github.com/Animenosekai/translate/compare/v2.2...v2.3

🎐Animenosekai, 2022

v2.2

2 years ago

New release for translatepy!

translatepy v2.2

New

  • HTML translation from the BaseTranslator and Translate class
  • Supported Languages checking for each translator before making any request

Improvements

  • Better string emptiness checking
  • Type safe/hinted result models (nice when you want to code)
  • Avoid meaningless processing in Language initialization
  • Updating tests by adding tests for the Translate (Translator) class
  • Make all raised exceptions inheriting translatepy.exceptions.TranslatepyException

v2.1

2 years ago

New release for translatepy!

translatepy v2.1

Some minor and major updates!

New

  • Improved Function and Classes Documentation (ex: the Request class)
  • Lazy Loading of the translators to avoid slowing down the Translate class instantiation (on-time translator instantiation)
  • Support for a single string in the proxy_urls parameter for Request
  • Update result models string representation (__repr__)
  • New language data file : minified, fixed, more accurate
  • Language name vectors file : minified, with more information (counter) to avoid redundant computation time at startup, curated (less unused languages, making the results more accurate)
  • Custom class for language extras
  • Fast Mode (concurrent/threaded processing)
  • Isolated cache and cache duration set from Request instantiation

… and other

Fixes

A lot of patches and fixes have been applied with this update:

  • Patches from #23 and #24
  • Fixing Bing's text to speech method ( aed04a7 )
  • Fixing tests

v2.0

2 years ago

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.

v1.7

3 years ago

New translatepy release!

[add]

  • Adding a much more stable version of Yandex Translate thank's to @ZhymabekRoman (PR: #10)

[fix]

  • Fixing a problem where the used service for translation was always Reverso (even when it wasn't)

v1.6.1

3 years ago

translatepy minor release

[fix]

  • Adds the pyuseragents dependency to setup.py

[update]

  • A "destination_language" is now optional for Translator.example

v1.6

3 years ago

New translatepy release!

v1.6

[add]

  • Officially supporting the text_to_speech method!
  • New endpoints for more stability!
  • A much more stable DeepL following #7
  • Adding Google's JSONRPC API (batchexecute) with transliteration, translation and language support!

[update]

  • The code for the Translator class is much more simple, thanks to @spamz23's fork which inspired me to make it look better

Updating the README

v1.5.2

3 years ago

translatepy v1.5.2

[fix]

  • Google changed their API response format once more

https://github.com/ssut/py-googletrans/issues/268#issuecomment-803854020

v1.5.1

3 years ago

translatepy v1.5.1

[fix]

  • Fixing Google Translate following ssut/py-googletrans#268

[update]

  • Updating the README accordingly

v1.5

3 years ago

translatepy v1.5

[add]

  • Adding a text_to_speech method to GoogleTranslate() in alpha support
  • Adding a clean_cache method to clean the caches

[fix]

  • Fixing #6 where the text wasn't correctly URL-encoded

[update]

  • Updating the README