OpenTranslate-beta 1.0.0.3

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package OpenTranslate-beta --version 1.0.0.3
NuGet\Install-Package OpenTranslate-beta -Version 1.0.0.3
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="OpenTranslate-beta" Version="1.0.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTranslate-beta --version 1.0.0.3
#r "nuget: OpenTranslate-beta, 1.0.0.3"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install OpenTranslate-beta as a Cake Addin
#addin nuget:?package=OpenTranslate-beta&version=1.0.0.3

// Install OpenTranslate-beta as a Cake Tool
#tool nuget:?package=OpenTranslate-beta&version=1.0.0.3

OpenTranslate

OpenTranslate is powered by an opensource translation engine, giving you great translations. However we do have a 500 character limit per a translation we are currently still working on bulk translations per use. This can be used synchronously or asynchronously.

Optimizations

We have added better error handling to the package and fixed up some bugs that we found during testing which caused empty json strings to be returned.

Package Dependencies

Package Version
Newtonsoft.Json 13.0.1

Usage/Examples

GetTranslation(Sentence or Phrase, laguage from, language to);

Languages need to be specified in ISO 639-1 format like below:

using OpenTranslate;

var engine = new OpenTranslateClient();

string json = await engine.GetTranslation("Hello, May the force be with you.", "en", "es");

Results results = JsonSerializer.Deserialize<Results>(json);

Console.Write("Your Translation: " + results.Translation + Environment.NewLine +
"Match Accuracy: " + results.Percentage);

internal class Results
{
  public string Translation {get;set;}
  public string Percentage {get;set;}
  public string LanguageFrom {get;set;}
  public string LanguageTo {get;set;}
}

Roadmap

  • Add OCR image and document translations. (currently we have started development on this.)

  • Add code and performance optimisation.

License

MIT

Support

For support, email WebsiterzTech@gmail.com.

Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated

This is our second official beta release.
   We have added improved error handling and have added some code optimisation.