Skip to content

Releases

v2.4

Choose a tag to compare

@d4n3436 d4n3436 released this 05 Sep 04:18

What's Changed

  • Add rich dictionary lookup support by @asd880921 in #18
  • Add .NET 10 target framework
  • Add support for more languages
  • Update dependencies

New Contributors

Full Changelog: v2.3.1...v2.4

v2.3.1

Choose a tag to compare

@d4n3436 d4n3436 released this 22 Mar 17:41

Changes

  • Strong-name GTranslate assembly

v2.3

Choose a tag to compare

@d4n3436 d4n3436 released this 04 Mar 19:29

Additions

  • Added 2 new languages and support for more translation services in some languages
  • Include Readme in NuGet package

Changes

  • Updated default User-Agent header
  • Updated dependencies (System.Text.Json and System.Net.Http.Json) to version 9.0.2

Removals

  • Removed .NET 6 target framework

v2.2.8

Choose a tag to compare

@d4n3436 d4n3436 released this 27 Sep 03:08

Additions

  • Added checks for max. text length on BingTranslator, MicrosoftTranslator and GoogleTranslator2
  • Added new Google TTS language (fr-CA)

Changes

  • Fixed deserialization errors on BingTranslator and MicrosoftTranslator
  • Fixed language dictionary not finding values because of a missing comparer
  • Marked BingTranslationResult.SourceLanguage and BingTransliterationResult.SourceLanguage as nullable. These properties will return null if the translator can't auto-detect the language of the input text

v2.2.7

Choose a tag to compare

@d4n3436 d4n3436 released this 14 Aug 03:17

Additions

  • Added missing default voices to MicrosoftTranslator
  • Added missing TTS language to YandexTranslator

Changes

  • Fixed deserialization error on GoogleTranslator
  • Updated default User-Agent header
  • Improved the performance of language lookups on .NET 8

v2.2.6

Choose a tag to compare

@d4n3436 d4n3436 released this 05 Aug 00:04

Additions

  • Added back the new Google languages that were previously removed

Changes

  • Fixed some deserialization bugs on BingTranslator and MicrosoftTranslator
  • Fixed a bug in the creation of the TTS payload on GoogleTranslator2
  • Minor performance improvements

v2.2.5

Choose a tag to compare

@d4n3436 d4n3436 released this 31 Jul 00:22

Additions

  • Added source transliteration property to multiple translation and transliteration results
  • Added source script property to MicrosoftTransliterationResult

Changes

  • Temporarily removed the new languages of v2.2.3 because GoogleTranslator currently doesn't support the new languages, and GoogleTranslator2 doesn't return a valid result in most cases without the X-Goog-BatchExecute-Bgr header
  • Use source generation for JSON serialization and deserialization of requests and responses in all translator classes
  • Now MicrosoftTransliterationResult.SourceLanguage will return the language of the source text instead of throwing an exception
  • Now the library will reference the System.Net.Http.Json package (except on .NET 8)

v2.2.3

Choose a tag to compare

@d4n3436 d4n3436 released this 26 Jul 02:34

Additions

  • Added 94 new languages, 2 new TTS languages provided by Google and updated the supported services of many languages

Changes

  • Updated the default API endpoint of MicrosoftTranslator. It should be more stable but it has a limit of 1000 characters per translation request
  • Updated System.Text.Json dependency
  • Wrapped the translation and transliteration results of AggregateTranslator to include the exceptions that have occurred before receiving the result

v2.2

Choose a tag to compare

@d4n3436 d4n3436 released this 26 May 21:28

Additions

  • Added 4 new languages, 5 new Google TTS languages and updated the supported services of some languages
  • Added .NET 8 target framework
  • Added support for Native AOT
  • Added TTS support to BingTranslator through new API endpoint

Changes

  • Updated the default API endpoint of MicrosoftTranslator (fixes the HTTP 405 errors)
  • Updated the default User-Agent header
  • Updated System.Text.Json package to latest version

v2.1.6

Choose a tag to compare

@d4n3436 d4n3436 released this 13 Mar 22:28
  • Changed the default API endpoint in MicrosoftTranslator. This removes the 1000 character limit in TranslateAsync().