Releases: Animenosekai/translate
v2.3
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
New release for translatepy!
translatepy v2.2
New
- HTML translation from the
BaseTranslator
andTranslate
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
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 forRequest
- 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:
v2.0
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
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
translatepy minor release
[fix]
- Adds the pyuseragents dependency to
setup.py
[update]
- A "destination_language" is now optional for
Translator.example
v1.6
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
translatepy v1.5.2
[fix]
- Google changed their API response format once more
v1.5.1
translatepy v1.5.1
[fix]
- Fixing Google Translate following ssut/py-googletrans#268
[update]
- Updating the README accordingly