Arebis.Core.Services.Translation 8.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Arebis.Core.Services.Translation --version 8.0.2                
NuGet\Install-Package Arebis.Core.Services.Translation -Version 8.0.2                
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="Arebis.Core.Services.Translation" Version="8.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Arebis.Core.Services.Translation --version 8.0.2                
#r "nuget: Arebis.Core.Services.Translation, 8.0.2"                
#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 Arebis.Core.Services.Translation as a Cake Addin
#addin nuget:?package=Arebis.Core.Services.Translation&version=8.0.2

// Install Arebis.Core.Services.Translation as a Cake Tool
#tool nuget:?package=Arebis.Core.Services.Translation&version=8.0.2                

Arebis.Core.Services.Translation

.NET Core translation service implementations.

Translation Services

This package contains the following .NET Core translation service implementations:

BingTranslationService

Register the Bing translation service with the following code:

builder.Services.AddTransient<ITranslationService, BingTranslationService>();

In addition the API key, or subscription key, must be made available, together with the region, ideally in User Secrets. For instance (non-operational example key):

"BingApi": {
  "SubscriptionKey": "0a123bc45678d90efa12345bc6789d0e",
  "Region": "eastus"
}

For more information, see: http://api.microsofttranslator.com.

DeepLTranslationService

Register the DeepL translation service with the following code:

builder.Services.AddTransient<ITranslationService, DeepLTranslationService>();

An API key must be made available, preferably via User Secrets, as in here (non-operational example key):

"DeepLApi": {
  "ApiKey": "DeepL-Auth-Key ab12345c-678d-90e1-fa23-b456cd7890ef:fx"
}

Note that the API key should start with "DeepL-Auth-Key " and typically ends with ":fx".

You will also have configure the TranslationServiceUrl as this is different depending on the service type. This configuration is typically added in appsettings.json:

"DeepLApi": {
  "TranslationServiceUrl": "https://api-free.deepl.com/v2/translate",
}

For more information, see: https://www.deepl.com/en/docs-api.

GoogleTranslationService

Setup an account and access to the Google Translate service here if you haven't done so yet.

Register the Google translation service with the following code:

builder.Services.AddTransient<ITranslationService, GoogleTranslationService>();

An API key must be made available, preferably via User Secrets, as in here (non-operational example key):

"GoogleApi": {
  "ApiKey": "AbcDEfGhij01KLmNop23QrS-t4U56Vw7XYz8a90"
}

For more information, see: https://cloud.google.com/translate.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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
8.0.3 85 11/4/2024
8.0.2 115 9/10/2024
8.0.1 99 9/10/2024
8.0.0 106 9/9/2024