Skip to content

Releases: Animenosekai/translate

v2.3

26 Mar 15:26
Compare
Choose a tag to compare

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: v2.2...v2.3

🎐Animenosekai, 2022

v2.2

25 Oct 17:23
Compare
Choose a tag to compare

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

24 Sep 14:40
Compare
Choose a tag to compare

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

25 Jul 23:51
Compare
Choose a tag to compare

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

14 May 17:42
Compare
Choose a tag to compare

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

26 Apr 10:37
Compare
Choose a tag to compare

translatepy minor release

[fix]

  • Adds the pyuseragents dependency to setup.py

[update]

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

v1.6

25 Apr 17:43
Compare
Choose a tag to compare

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

22 Mar 13:55
Compare
Choose a tag to compare

translatepy v1.5.2

[fix]

  • Google changed their API response format once more

ssut/py-googletrans#268 (comment)

v1.5.1

21 Mar 15:08
Compare
Choose a tag to compare

translatepy v1.5.1

[fix]

[update]

  • Updating the README accordingly

v1.5

02 Mar 18:35
Compare
Choose a tag to compare

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