Skip to content

v2.1

Compare
Choose a tag to compare
@Animenosekai Animenosekai released this 24 Sep 14:40
· 108 commits to main since this release

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