Releases: d4n3436/GTranslate
Releases · d4n3436/GTranslate
v2.1
- 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 ofLanguage
, 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 thatMicrosoftTranslator
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
v2.0.1
v2.0
Additions
- Added 2 new translators (
GoogleTranslator2
andMicrosoftTranslator
) - 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
toAggregateTranslator
- Renamed
Result
property in favor ofTranslation
andTransliteration
properties
v1.0.3
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.