Skip to content

Releases: d4n3436/GTranslate

v2.1

23 Apr 21:57
Compare
Choose a tag to compare
  • Added native names to all languages (NativeName property).
  • Added new language (Upper Sorbian).
  • Updated the supported services of some languages.
  • Fixed missing transliteration in GoogleTranslator2.TranslateAsync() that occurred in some cases.
  • Overriden the ToString() method of Language, all translators and translation/transliteration results. This provides a better description of these objects when debugging.
  • Added missing format specifier in YandexTranslator.DetectLanguageAsync(), this caused the method to throw an exception.
  • Now YandexTranslator.TransliterateAsync() will deserialize the response, this removes the extra quotes (") in the response.
  • Updated the default User-Agent headers of all translators. This fixes the HTTP 429 error code returned when trying to get the auth token that MicrosoftTranslator uses.
  • Fixed missing spaces in the translated text in GoogleTranslator2.TranslateAsync().
  • Fixed a bug that produced an exception in GoogleTranslator2.TranslateAsync() caused when translating urls or sentences that returned gender-specific translations.

v2.0.2

07 Apr 04:39
Compare
Choose a tag to compare
  • Fixed a bug in GoogleTranslator that caused the translation source language to be ignored.

v2.0.1

26 Feb 01:10
Compare
Choose a tag to compare
  • Fixed a bug in GoogleTranslator2 that caused the parser to return only the last line of the translation.

v2.0

19 Feb 23:37
Compare
Choose a tag to compare

Additions

  • Added 2 new translators (GoogleTranslator2 and MicrosoftTranslator)
  • Added text-to-speech support to almost all translators
  • Added nullable annotations to the project

Changes

  • Rewritten all the translators to use System.Text.Json
  • Updated target frameworks to .NET Standard 2.0, 2.1 and .NET 6
  • Updated the translators' constructors to make them DI-friendly
  • Renamed Translator to AggregateTranslator
  • Renamed Result property in favor of Translation and Transliteration properties

v1.0.3

22 Jun 05:20
Compare
Choose a tag to compare

The (proper) initial release of GTranslate.

Features:

  • 3 translation services:

    • Google Translate
    • Bing Translator
    • Yandex.Translate
  • Support for translation, transliteration and language detection in the included translators.

  • Support for all the languages of each translator.

  • A language class with methods for getting the supported languages and determining the availability of a language in a specific translator.

  • Interfaces, allowing to write custom translators and languages.

  • A Translator class that groups the default translators for ease of use with the ability to add custom translators.