Repository navigation
Releases
Releases · d4n3436/GTranslate
v2.4
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
- @asd880921 made their first contribution in #18
Full Changelog: v2.3.1...v2.4
v2.3.1
v2.3
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.JsonandSystem.Net.Http.Json) to version 9.0.2
Removals
- Removed .NET 6 target framework
v2.2.8
Additions
- Added checks for max. text length on
BingTranslator,MicrosoftTranslatorandGoogleTranslator2 - Added new Google TTS language (
fr-CA)
Changes
- Fixed deserialization errors on
BingTranslatorandMicrosoftTranslator - Fixed language dictionary not finding values because of a missing comparer
- Marked
BingTranslationResult.SourceLanguageandBingTransliterationResult.SourceLanguageas nullable. These properties will returnnullif the translator can't auto-detect the language of the input text
v2.2.7
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
Additions
- Added back the new Google languages that were previously removed
Changes
- Fixed some deserialization bugs on
BingTranslatorandMicrosoftTranslator - Fixed a bug in the creation of the TTS payload on
GoogleTranslator2 - Minor performance improvements
v2.2.5
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
GoogleTranslatorcurrently doesn't support the new languages, andGoogleTranslator2doesn't return a valid result in most cases without theX-Goog-BatchExecute-Bgrheader - Use source generation for JSON serialization and deserialization of requests and responses in all translator classes
- Now
MicrosoftTransliterationResult.SourceLanguagewill return the language of the source text instead of throwing an exception - Now the library will reference the
System.Net.Http.Jsonpackage (except on .NET 8)
v2.2.3
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.Jsondependency - Wrapped the translation and transliteration results of
AggregateTranslatorto include the exceptions that have occurred before receiving the result
v2.2
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
BingTranslatorthrough 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